sky201503 / android-apktool-1

Automatically exported from code.google.com/p/android-apktool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue 346's problem is still existed by using the new apktool version v1.5.1I

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
1. add activity declaration in project
        <activity
            android:name="com.google.ads.AdActivity"
            android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />

2.
change target in default.properties to "target=android-14"

3.
export apk from eclipse.

4.
decode apk use apktool

5.
check AndroidManifest.xml out.
Activity declaration became <activity android:name="com.google.ads.AdActivity" 
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode" 
/>
==>
|screenSize|smallestScreenSize IS STILL MISSING!!!!!

What is the expected output? What do you see instead?
The Activity declaration is supposed to not changed.

What version of the product are you using? On what operating system?
v1.5.1 , window

Please provide any additional information below.

Original issue reported on code.google.com by linyig...@yahoo.com.cn on 2 Jan 2013 at 5:27

please ignore this issue. After get the latest window apktool and replaced with 
the apktool.jar v1.5.1. Problem sovled.

Original comment by linyig...@yahoo.com.cn on 2 Jan 2013 at 6:29

:) glad it worked

Original comment by connor.tumbleson on 2 Jan 2013 at 8:29

  • Changed state: Idle
I am sorry to digress but this is still happening: Apktool gets a truncated 
android:configChanges in the manifest:

Original manifest:

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

decompiled with apktook 1.5.2, manifest comes out:

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

And thus, admob gets broken :(

Original comment by euq...@gmail.com on 9 Sep 2013 at 8:38