arshidkv12 / android-apktool

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

Decompile and Recompile parse error #742

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.apktool d cd.apk
2.apktool b cd
3.sign apk file and run it on Android

What is the expected output? What do you see instead?
When I click on android but it shows "parse error!"

What version of the product are you using? On what operating system?
latest version rc3, Windows 8

Please provide any additional information below.
Here is my apk
https://www.dropbox.com/s/gmqyw004kvx383b/cd.apk?dl=0

Original issue reported on code.google.com by nikramon...@gmail.com on 12 Jan 2015 at 4:41

GoogleCodeExporter commented 9 years ago
Please give me updates on this. I will donate if you guys can fix this problem.

Thanks in Advance.

Original comment by nikramon...@gmail.com on 12 Jan 2015 at 2:54

GoogleCodeExporter commented 9 years ago
This bug isn't even 24 hours old. Give us some time... 

Original comment by connor.tumbleson on 12 Jan 2015 at 2:55

GoogleCodeExporter commented 9 years ago
At first I couldn't install APK due to malformed manifest error. I saw that 
this was because of the same problem in issue #512. I fixed that by injecting 
the reference of the variable, rebuilt and signed.

The APK installed fine and loaded up with a "Login" and "Signup" button. I 
could click both without crash. So either I couldn't duplicate the crash or you 
were stuck on the problem I explained in above.

Original comment by connor.tumbleson on 14 Jan 2015 at 12:55

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I linked wrong bug. That would be 526. Not 512.

Basically any reference in an authorities attribute must be replaced with its 
literal value.

before
android:authorities="@cyberdust_contacts_provider_authority"

after
android:authorities="com.cyberdust.provider.contacts"

Original comment by connor.tumbleson on 14 Jan 2015 at 1:15

GoogleCodeExporter commented 9 years ago
which variable I should insert?
Can you send me correct manifest file?

Original comment by nikramon...@gmail.com on 14 Jan 2015 at 1:17

GoogleCodeExporter commented 9 years ago
Thanks

Original comment by nikramon...@gmail.com on 14 Jan 2015 at 1:20