sky201503 / android-apktool-1

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Decoded AndroidManifest.xml is not same as the orignal one.

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-13"

3.
export apk from eclipse.

4.
decode apk use apktool

5.
check AndroidManifest.xml out.
Activity declaration is changed to
        <activity
            android:name="com.google.ads.AdActivity"
            android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode" />

==>
|screenSize|smallestScreenSize is MISSING!.


What is the expected output? What do you see instead?
|screenSize|smallestScreenSize should be in decoded AndroidManifest.xml.

What version of the product are you using? On what operating system?
1.41, 1.43, windows


Original issue reported on code.google.com by umbrahan on 12 Oct 2012 at 1:17

Attachments:

Attached the APK please, and I'll look into it.

Original comment by connor.tumbleson on 15 Nov 2012 at 12:59

  • Changed state: Waiting_For_Issuer
  • Added labels: Priority-Low
  • Removed labels: Priority-Medium

Original comment by connor.tumbleson on 19 Nov 2012 at 1:00

  • Changed state: Duplicate
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:34