you should write all the job logic in a service so...
# android
i
you should write all the job logic in a service so you can test it.
j
Hello. I have bugs.. Please help. Thanks https://hastebin.com/uhafilazuq.bash startup failed: build file 'D:\Workspace\ZALOHA\Old_error_cardview\app\build.gradle': 8: only id(String) method calls allowed in plugins {} script block See https://docs.gradle.org/4.10.2/userguide/plugins.html#sec:plugins_block for information on the plugins {} block @ line 8, column 5. android { ^ 1 error Open File
r
You forgot a
}
on line 6
j
Thank you, but I'm writing a new bug. More than one file was found with an independent OS 'META-INF / androidx.cardview_cardview.version'.I added android { packageOptions { omit "META-INF / proguard / androidx-annotations.pro" and again writes an error.
c
only id(String) method calls allowed in plugins {} script block
👈
i.e. what Gael said
j
c
👍
j
After editing without change.More than one file was found with an independent path 'OS' META-INF / androidx.cardview_cardview.version '
c
editing without change
?
j
the parenthesis in position 6 has not been added before, is there something else to change?
c
sounds like more than one cardview file was found
implementation "androidx.cardview:cardview:1.0.0"
and
implementation 'com.android.support:cardview-v7:28.0.0'
+1 to the error messages it’s providing for you
j
The application works, thank you for your time. 👍