lnln1111 / android-apktool

Automatically exported from code.google.com/p/android-apktool
Other
0 stars 0 forks source link

how to specify sdk version where build a apk package? #271

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.i use apktool to decode apk file
2.build a new apk file use "apktool b apdir ap.apk"
3.i install the new apk in my phone

What is the expected output? What do you see instead?
 a error display on screen :

 "You must have AdActivity declared in AndroidManifest.xml with configChanges.
" 

What version of the product are you using? On what operating system?
the lastest version of apktool. windows operating system

Please provide any additional information below.

the apk has a admob ad, the origin apk does not show this error,  when install 
the new apk which is build by apktool,  and it display the error information.

the admob ad sdk version is 4.3.1 .

and i find the admob offical document, it says "The Google AdMob Ads SDK for 
Android requires Android 1.5 or later. Make sure you have the latest copy of 
the Android SDK and that you're compiling against at least Android v3.2 (set 
target in default.properties to android-13)."

how can i specify the android version when use apktool build a apk?
thanks

Original issue reported on code.google.com by superuse...@gmail.com on 19 Dec 2011 at 5:11

GoogleCodeExporter commented 9 years ago
hello? is there someone help me ?

Original comment by superuse...@gmail.com on 21 Dec 2011 at 6:21

GoogleCodeExporter commented 9 years ago
how to specify API Level when use apktool?

Original comment by superuse...@gmail.com on 21 Dec 2011 at 6:30

GoogleCodeExporter commented 9 years ago
Just use latest aapt tool and latest framework - it's the same as latest SDK.

Original comment by Brut.alll on 21 Dec 2011 at 8:19

GoogleCodeExporter commented 9 years ago

Original comment by connor.tumbleson on 17 Nov 2012 at 2:47