- Home /
[ERROR ][Android Build] [5.3.4] Not able to build
I have tried building an apk file for my test build of my ads.
Initially, i had an error of "Unable to list target platforms" which I solved by referring : HERE
Then I had an I issue of merge conflict in manifest Files which I solved by referring : HERE
After which I got a list of errors which is tried to solve by confining all ie., platformtools, build tools etc to API level 19 (KitKat).
I have no clue what to search for as the Error is VERY INFORMATION HEAVY.
Here is the whole error
The first few lines are:
CommandInvokationFailure: Failed to re-package resources. See the Console for details.[
C:\Android\sdk\build-tools\19.1.0\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Android/sdk\platforms\android-19\android.jar" -F bin/resources.ap_ --extra-packages
A little into the error, there are a lot of already defined statements, starting with a png duplicate. You should check that out.
Answer by bharat_jaffar · Aug 30, 2017 at 11:01 AM
Thank you @hexagonius
Solved the error ...just had to delete all the folder and files in the "res folder" present in the asset/plugin/android/google_play_service_lib/res folder.
But now I am getting a new error of "UNABLE TO CONVERT TO DEX FORMAT".
You should create a new question for that after searching for already asked questions. To me it sounds familiar.