Android studio 3: Could not find the AndroidManifest.xml file -


after migrating android studio 3 i'm unable compile i' have folowing errors:

error:could not find androidmanifest.xml file, using  generation  folder  [/home/salacr/git/evotech/app/build/generated/source/apt/debug]) error:parceler: code generation did not complete successfully.   more details add compiler argument -aparcelerstacktrace error:execution failed task ':app:compiledebugjavawithjavac'. > compilation failed; see compiler error output details. 

it might connected usage of android anotation app/build.gradle looks this:

apply plugin: 'com.android.application' apply plugin: 'realm-android'  def aaversion = '4.3.1' def parcelerversion = '1.1.9'  android {     compilesdkversion 26     buildtoolsversion '26.0.1'      defaultconfig {         applicationid "com.my.app"         minsdkversion 16         targetsdkversion 26         versioncode 1         versionname "1.0"         multidexenabled true     }     signingconfigs {         release {             storefile file("******")             storepassword "******"             keyalias "******"             keypassword "******"         }     }     buildtypes {         release {             minifyenabled false             signingconfig signingconfigs.release             proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro'         }     }      packagingoptions {         exclude 'meta-inf/dependencies'         exclude 'meta-inf/notice'         exclude 'meta-inf/license'         exclude 'meta-inf/license.txt'         exclude 'meta-inf/notice.txt'     }      splits {         abi {             enable true // enable abi split feature create 1 apk per abi             universalapk true //generate additional apk targets abis         }     }     /*     // map version code     project.ext.versioncodes = ['armeabi':1, 'armeabi-v7a':2, 'arm64-v8a':3, 'mips':5, 'mips64':6, 'x86':8, 'x86_64':9]      android.applicationvariants.all { variant ->         // assign different version code each output         variant.outputs.each { output ->             output.versioncodeoverride =                     project.ext.versioncodes.get(output.getfilter(com.android.build.outputfile.abi), 0) * 1000000 + android.defaultconfig.versioncode         }     }     */      compileoptions {         sourcecompatibility javaversion.version_1_8         targetcompatibility javaversion.version_1_8     }  }  dependencies {      implementation "org.parceler:parceler-api:$parcelerversion"     annotationprocessor "org.parceler:parceler:$parcelerversion"     annotationprocessor "org.androidannotations:androidannotations:$aaversion"     implementation "org.androidannotations:androidannotations-api:$aaversion"     implementation 'com.android.support:appcompat-v7:26.0.1'     implementation 'com.android.support:multidex:1.0.2' } 

i'm unable find root cause this, suggestions? tried diferent graddle versions using different buildtoolsversion tools, without effect.

any suggestions?

thanks!

edit 1: have found out problem here:

splits {     abi {         enable true // enable abi split feature create 1 apk per abi         universalapk true //generate additional apk targets abis     } } 

without works expected. seams config isn't compatible androidanotations in new android studio

edit 2: there issue in androidanotation: https://github.com/androidannotations/androidannotations/issues/2034


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -