qizfei opened a new issue #2982: [Android][BUG]The official weex demo not work 
well where weex_sdk version is 0.26.0
URL: https://github.com/apache/incubator-weex/issues/2982
 
 
   step 1 
   follow the official step create the project.
   
https://weex.apache.org/zh/guide/develop/setup-develop-environment.html#%E5%AE%89%E8%A3%85%E4%BE%9D%E8%B5%96
   step 2
   modify the build.gradle
       compile 'com.taobao.android:weex_sdk:0.26.0'
   step 3
   debug the app
   the app not work well.
   
![coolpad](https://user-images.githubusercontent.com/56956974/67470519-77f06200-f680-11e9-9c01-509e0779e5c6.png)
   
![coolpad2](https://user-images.githubusercontent.com/56956974/67470521-7888f880-f680-11e9-8223-3cb363af5ad9.png)
   
   
   logs below:
   
   10-24 16:34:19.407 1058-1083/? W/ActivityManagerService: No content provider 
found for permission revoke: file:///data/local/tmp/weex-app.apk
   10-24 16:34:20.407 1058-1083/? W/ActivityManagerService: No content provider 
found for permission revoke: file:///data/local/tmp/weex-app.apk
   10-24 16:34:23.717 1058-1083/? W/PackageManager: Code path for pkg : 
com.weex.app changing from /data/app/com.weex.app-1.apk to 
/data/app/com.weex.app-2.apk
   10-24 16:34:23.717 1058-1083/? W/PackageManager: Resource path for pkg : 
com.weex.app changing from /data/app/com.weex.app-1.apk to 
/data/app/com.weex.app-2.apk
   10-24 16:34:24.037 1578-1618/? E/BitmapFactory: Unable to decode stream: 
java.io.FileNotFoundException: 
/data/user/0/com.yulong.android.launcher3/app_theme/defaulttheme/com.yulong.android.launcher3/res/drawable-xhdpi/com_weex_app_splashactivity.png:
 open failed: ENOENT (No such file or directory)
   10-24 16:34:24.047 1578-1618/? E/BitmapFactory: Unable to decode stream: 
java.io.FileNotFoundException: 
/data/user/0/com.yulong.android.launcher3/app_theme/defaulttheme/com.yulong.android.launcher3/res/drawable-xhdpi/com_weex_app_splashactivity.png:
 open failed: ENOENT (No such file or directory)
   10-24 16:34:24.157 1058-1076/? W/LoadedApk: perform long-running operations 
in onReceive, ordered=false ~duration=131ms: 
com.android.server.InputMethodManagerService$MyPackageMonitor@42eaa958 Intent { 
act=android.intent.action.PACKAGE_ADDED dat=package:com.weex.app flg=0x4000010 
(has extras) }
   10-24 16:34:24.167 1058-1058/? W/LoadedApk: perform long-running operations 
in onReceive, ordered=false ~duration=137ms: 
android.content.pm.RegisteredServicesCache$1@428f2488 Intent { 
act=android.intent.action.PACKAGE_REMOVED dat=package:com.weex.app 
flg=0x4000010 (has extras) }
   10-24 16:34:25.197 11769-11769/com.weex.app W/ActivityThread: Application 
com.weex.app is waiting for the debugger on port 8100...
   10-24 16:34:27.047 11769-11769/com.weex.app E/dalvikvm: Could not find class 
'com.taobao.weex.dom.WXDomObject', referenced from method 
com.alibaba.weex.plugin.loader.WeexPluginContainer.loadDomObjects
   10-24 16:34:27.047 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve const-class 4201 (Lcom/taobao/weex/dom/WXDomObject;) in 
Lcom/alibaba/weex/plugin/loader/WeexPluginContainer;
   10-24 16:34:27.347 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve interface method 20770: 
Landroid/view/Window$Callback;.onPointerCaptureChanged (Z)V
   10-24 16:34:27.347 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve interface method 20772: 
Landroid/view/Window$Callback;.onProvideKeyboardShortcuts 
(Ljava/util/List;Landroid/view/Menu;I)V
   10-24 16:34:27.347 11769-11769/com.weex.app W/dalvikvm: VFY: unable to find 
class referenced in signature (Landroid/view/SearchEvent;)
   10-24 16:34:27.347 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve interface method 20774: 
Landroid/view/Window$Callback;.onSearchRequested (Landroid/view/SearchEvent;)Z
   10-24 16:34:27.347 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve interface method 20778: 
Landroid/view/Window$Callback;.onWindowStartingActionMode 
(Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
   10-24 16:34:27.347 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve virtual method 860: 
Landroid/content/res/TypedArray;.getChangingConfigurations ()I
   10-24 16:34:27.357 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve virtual method 882: Landroid/content/res/TypedArray;.getType (I)I
   10-24 16:34:27.657 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve virtual method 21776: Landroid/widget/TextView;.getAutoSizeMaxTextSize 
()I
   10-24 16:34:27.657 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve virtual method 21777: Landroid/widget/TextView;.getAutoSizeMinTextSize 
()I
   10-24 16:34:27.657 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve virtual method 21778: 
Landroid/widget/TextView;.getAutoSizeStepGranularity ()I
   10-24 16:34:27.657 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve virtual method 21779: 
Landroid/widget/TextView;.getAutoSizeTextAvailableSizes ()[I
   10-24 16:34:27.657 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve virtual method 21780: Landroid/widget/TextView;.getAutoSizeTextType ()I
   10-24 16:34:27.657 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve virtual method 21831: 
Landroid/widget/TextView;.setAutoSizeTextTypeUniformWithConfiguration (IIII)V
   10-24 16:34:27.657 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve virtual method 21832: 
Landroid/widget/TextView;.setAutoSizeTextTypeUniformWithPresetSizes ([II)V
   10-24 16:34:27.657 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve virtual method 21833: 
Landroid/widget/TextView;.setAutoSizeTextTypeWithDefaults (I)V
   10-24 16:34:27.657 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve virtual method 823: Landroid/content/res/Resources;.getDrawable 
(ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
   10-24 16:34:27.657 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve virtual method 825: 
Landroid/content/res/Resources;.getDrawableForDensity 
(IILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
   10-24 16:34:27.697 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve virtual method 21778: 
Landroid/widget/TextView;.getAutoSizeStepGranularity ()I
   10-24 16:34:27.697 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve static method 19871: Landroid/text/StaticLayout$Builder;.obtain 
(Ljava/lang/CharSequence;IILandroid/text/TextPaint;I)Landroid/text/StaticLayout$Builder;
   10-24 16:34:27.707 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve virtual method 624: Landroid/content/Context;.getColorStateList 
(I)Landroid/content/res/ColorStateList;
   10-24 16:34:27.717 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve virtual method 615: 
Landroid/content/Context;.createDeviceProtectedStorageContext 
()Landroid/content/Context;
   10-24 16:34:27.717 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve virtual method 622: Landroid/content/Context;.getCodeCacheDir 
()Ljava/io/File;
   10-24 16:34:27.717 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve virtual method 623: Landroid/content/Context;.getColor (I)I
   10-24 16:34:27.717 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve virtual method 624: Landroid/content/Context;.getColorStateList 
(I)Landroid/content/res/ColorStateList;
   10-24 16:34:27.717 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve virtual method 626: Landroid/content/Context;.getDataDir 
()Ljava/io/File;
   10-24 16:34:27.717 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve virtual method 628: Landroid/content/Context;.getDrawable 
(I)Landroid/graphics/drawable/Drawable;
   10-24 16:34:27.717 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve virtual method 635: Landroid/content/Context;.getNoBackupFilesDir 
()Ljava/io/File;
   10-24 16:34:27.717 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve virtual method 648: Landroid/content/Context;.isDeviceProtectedStorage 
()Z
   10-24 16:34:27.717 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve virtual method 663: Landroid/content/Context;.startForegroundService 
(Landroid/content/Intent;)Landroid/content/ComponentName;
   10-24 16:34:29.427 1058-1540/? E/ActivityManagerHook: callingPackage 
=com.weex.app
   10-24 16:34:29.437 1058-1540/? E/ActivityManagerHook: intent =Intent { 
cmp=com.weex.app/.WXPageActivity (has extras) }
   10-24 16:34:29.707 11769-11769/com.weex.app E/weex: idle from create 
instance cache size is 0
   10-24 16:34:29.717 11769-11769/com.weex.app W/weex: Warning :Component tree 
has not build completely,onActivityCreate can not be call!
   10-24 16:34:29.787 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve virtual method 21371: 
Landroid/widget/FrameLayout;.startActionModeForChild 
(Landroid/view/View;Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
   10-24 16:34:29.827 11769-11769/com.weex.app W/dalvikvm: VFY: unable to find 
class referenced in signature (Landroid/graphics/drawable/Icon;)
   10-24 16:34:29.827 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve virtual method 21400: Landroid/widget/ImageButton;.setImageIcon 
(Landroid/graphics/drawable/Icon;)V
   10-24 16:34:29.867 11769-11769/com.weex.app E/dalvikvm: Could not find class 
'android.graphics.drawable.RippleDrawable', referenced from method 
android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering
   10-24 16:34:29.867 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve instanceof 232 (Landroid/graphics/drawable/RippleDrawable;) in 
Landroid/support/v7/widget/AppCompatImageHelper;
   10-24 16:34:30.027 11769-11769/com.weex.app W/Weex: can not get hot reload 
config
   10-24 16:34:30.047 11769-11769/com.weex.app E/WXTBUtil: 
isSupportSmartBar:false
   10-24 16:34:30.057 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve direct method 21312: Landroid/widget/FrameLayout;.<init> 
(Landroid/content/Context;Landroid/util/AttributeSet;II)V
       10-24 16:34:30.087 11769-11769/com.weex.app W/weex: Warning :Component 
tree has not build completely,onActivityStart can not be call!
       10-24 16:34:30.097 11769-11769/com.weex.app W/weex: Warning :Component 
tree has not build completely, onActivityResume can not be call!
       10-24 16:34:30.117 11769-11769/com.weex.app W/weex: Warning :Component 
tree has not build completely,onActivityPause can not be call!
       10-24 16:34:30.317 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
find class referenced in signature (Landroid/graphics/drawable/Icon;)
       10-24 16:34:30.317 11769-11769/com.weex.app W/dalvikvm: VFY: unable to 
resolve virtual method 21457: Landroid/widget/ImageView;.setImageIcon 
(Landroid/graphics/drawable/Icon;)V
       10-24 16:34:31.737 11769-11769/com.weex.app W/weex: Warning :Component 
tree has not build completely, onActivityResume can not be call!
       10-24 16:34:32.417 11769-11901/com.weex.app E/test->: enter 
copyJssRuntimeSo:
       10-24 16:34:32.417 11769-11901/com.weex.app E/test->: enter 
checkGreyConfig
       10-24 16:34:32.417 11769-11901/com.weex.app E/test->: checkGreyConfig: 
configAdapter return false
       10-24 16:34:32.417 11769-11901/com.weex.app E/test->: tryUseRunTimeApi ? 
false
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to