You can look through that file and see the generated manifest. Notice this
from the output:
repositories {
jcenter()
mavenCentral()
jcenter()
maven { url 'https://jitpack.io' }
mavenLocal()
mavenCentral()
google()
flatDir{
dirs 'libs'
}
}
Most of the repos there are already present so you only need to add some of
them.
The actual error is:
/tmp/build4457111464099468165xxx/MainClass/build/intermediates/manifests/full/release/AndroidManifest.xml:42:
AAPT: No resource identifier found for attribute 'appComponentFactory' in
package 'android'
/tmp/build4457111464099468165xxx/MainClass/build/intermediates/manifests/full/release/AndroidManifest.xml:42:
error: No resource identifier found for attribute 'appComponentFactory' in
package 'android'
I'm not sure what triggered these failures. I was able to find this while
googling that specific error and it included some suggestions:
https://stackoverflow.com/questions/50266035/no-resource-identifier-found-for-attribute-appcomponentfactory-in-package-and/51170620
(Notice that these sort of things are fragile as Androids build
system/supporting libraries are "dependency hell")
Try adding the build hint:
android.supportv4Dep=compile 'com.android.support:support-v4:27.1';
implementation 'com.android.support:appcompat-v7:27.1';
This should match the suggestion of the first answer there. It isn't ideal as
you might fail again when we need to move to API
level 28/29 as required by google.
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/f3e8a587-3098-460c-9542-22b7150065da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.