notishell / android-apktool

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

built apk can not run without any change #640

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. decode it   
 apktool d com.usefullapps.transparentphone-1.apk ./dec

2. build it without any change  
apktool b -f ./dec/ new2.apk

3. sign new.apk and install it 
adb install  new2.apk

What is the expected output? 
apk run successfully. 

What do you see instead?
apk failed to run and crashed. 

What version of the product are you using? On what operating system?
apktools Apktool v1.5.2 
running in Ubuntu

Please provide any additional information below.

It seems some font resources is missed in the compiled file.

W/dalvikvm(25372): threadid=1: thread exiting with uncaught exception 
(group=0x4304d140)
E/AndroidRuntime(25372): FATAL EXCEPTION: main
E/AndroidRuntime(25372): Process: com.usefullapps.transparentphone, PID: 25372
E/AndroidRuntime(25372): java.lang.RuntimeException: native typeface cannot be 
made
E/AndroidRuntime(25372):    at android.graphics.Typeface.<init>(Typeface.java:175)
E/AndroidRuntime(25372):    at 
android.graphics.Typeface.createFromFile(Typeface.java:159)
E/AndroidRuntime(25372):    at com.startapp.android.publish.f.m.a(Unknown Source)
E/AndroidRuntime(25372):    at com.startapp.android.publish.splash.b.h(Unknown 
Source)
E/AndroidRuntime(25372):    at com.startapp.android.publish.splash.b.g(Unknown 
Source)
E/AndroidRuntime(25372):    at com.startapp.android.publish.splash.b.a(Unknown 
Source)
E/AndroidRuntime(25372):    at 
com.startapp.android.publish.splash.SplashConfig.getLayout(Unknown Source)
E/AndroidRuntime(25372):    at com.startapp.android.publish.splash.a.e(Unknown 
Source)
E/AndroidRuntime(25372):    at com.startapp.android.publish.splash.a.a(Unknown 
Source)
E/AndroidRuntime(25372):    at 
com.startapp.android.publish.splash.a$1.run(Unknown Source)
E/AndroidRuntime(25372):    at android.os.Handler.handleCallback(Handler.java:733)
E/AndroidRuntime(25372):    at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime(25372):    at android.os.Looper.loop(Looper.java:149)
E/AndroidRuntime(25372):    at 
android.app.ActivityThread.main(ActivityThread.java:5061)
E/AndroidRuntime(25372):    at java.lang.reflect.Method.invokeNative(Native 
Method)
E/AndroidRuntime(25372):    at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime(25372):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
E/AndroidRuntime(25372):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609)
E/AndroidRuntime(25372):    at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager(  568):   Force finishing activity 
com.usefullapps.transparentphone/com.startapp.android.publish.AppWallActivity

Original issue reported on code.google.com by pierr.c...@gmail.com on 30 May 2014 at 8:39

Attachments:

GoogleCodeExporter commented 9 years ago
The bug is #63 which is already fixed. I used 2.0.0 RC1 and had no problems. 
Already fixed.

Original comment by connor.tumbleson on 30 May 2014 at 11:20