desword / android-apktool

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

apktool and admob not working #593

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is in reference to Issue 513

I have the same problem. I downloaded apktool_2.0.0b6.jar, still same issue. I 
have attached my .apk and appreciate all the help

java -jar apktool_2.0.0b6.jar d -s -f testAdMobAdAmazon.apk

kkashi01@gmail.com

Original issue reported on code.google.com by kkash...@gmail.com on 19 Jan 2014 at 6:59

Attachments:

GoogleCodeExporter commented 9 years ago
What was the problem for you? The missing identifier in the manifest?

Original comment by connor.tumbleson on 19 Jan 2014 at 11:45

GoogleCodeExporter commented 9 years ago

Original comment by connor.tumbleson on 19 Jan 2014 at 11:45

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hello and thanks for checking into this.

Yes after after performing the apk, it removes the: 
|uiMode|screenSize|smallestScreenSize    from below

<activity android:name="com.google.ads.AdActivity 
"android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|
screenSize|smallestScreenSize"/>

Original comment by kkash...@gmail.com on 20 Jan 2014 at 12:07

GoogleCodeExporter commented 9 years ago
ibotpeaches@raganok:~/Downloads/Apktool/Bug593$ apktool d testAdMobAdAmazon.apk 
ibotpeaches@raganok:~/Downloads/Apktool/Bug593$ apktool b testAdMobAdAmazon
ibotpeaches@raganok:~/Downloads/Apktool/Bug593$ cd testAdMobAdAmazon/dist/
ibotpeaches@raganok:~/Downloads/Apktool/Bug593$ apktool d testAdMobAdAmazon.apk 
ibotpeaches@raganok:~/Downloads/Apktool/Bug593/testAdMobAdAmazon/dist$ vim 
testAdMobAdAmazon/AndroidManifest.xml 

<activity 
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|s
creenSize|smallestScreenSize" android:name="com.google.ads.AdActivity"/>

Looks fine to me. Try using this framework: 
https://github.com/iBotPeaches/Apktool/commit/9a31c135ac532bd96eab3afadef71714ed
978acf Or the newest 2.x built from source.

Original comment by connor.tumbleson on 22 Jan 2014 at 12:30

GoogleCodeExporter commented 9 years ago
Can you please try that on Windows box? Windows result is NOT same as what you 
have stated.

I have downloaded latest version from link below

http://miui.connortumbleson.com/other/apktool/test_versions/

Original comment by kkash...@gmail.com on 27 Jan 2014 at 9:54

GoogleCodeExporter commented 9 years ago
facing the same issue with 2.0.0b9.

Original comment by er.kauti...@gmail.com on 19 Apr 2014 at 9:46