I am working with the latest version of android studio. i have been searching for the same from last two days got some solutions but would not worked for me.
Asked
Active
Viewed 213 times
0
-
Please check my answer :- https://stackoverflow.com/questions/46988102/errorcom-android-tools-aapt2-aapt2exception-aapt2-error-check-logs-for-detail/46988596#46988596 – InsaneCat Jun 20 '18 at 06:49
-
1Possible duplicate of [Error:com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details](https://stackoverflow.com/questions/46988102/errorcom-android-tools-aapt2-aapt2exception-aapt2-error-check-logs-for-detail) – sɐunıɔןɐqɐp Jun 20 '18 at 06:50
-
Did you check the logs for details? – Izabela Orlowska Jun 20 '18 at 11:59
-
@IzabelaOrlowska yes, i have changed the following: | in buil.gradle buildscript { dependencies { classpath 'com.android.tools.build:gradle:3.2.0-alpha17' } } | in gradle-wrapper.properties distributionUrl=https\://services.gradle.org/distributions/gradle-4.8-all.zip | Now i am getting this error "The minSdk version should not be declared in the android manifest file. You can move the version from the manifest to the defaultConfig in the build.gradle file." – Mobin Abbasi Jun 20 '18 at 12:36
-
@MobinAbbasi great :) now you should remove the minSdk version from the AndroidManifest.xml file. – Izabela Orlowska Jun 20 '18 at 15:45