Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Build errors: No content provider found for:, DexOpt: not resolving ambiguous class, Code path for pkg,

$
0
0
Application type: mobile, Android Titanium SDK: 3.1.2 (08/14/13 12:45 5ceaff8) Device: Android emulator Host Operating System: Windows 7, proddesional Titanium Studio: build: 3.1.2.201308091617 Hi all, While trying to run the code on Android Emulator I get some errors that I do not know how to solve. I tried searching the web but nothing helped. ~~~ Titanium Command-Line Interface, CLI version 3.1.2, Titanium SDK version 3.1.2.GA [INFO] : Running emulator process: python "C:\Users\ofer.REGISOFT\AppData\Roaming\Titanium\mobilesdk\win32\3.1.2.GA\android\builder.py" "emulator" "smart" "C:\Progra~1\Java\AndroidSdk\sdk" "C:\ofer\companies\Smartsmart\Dropbox\Titanium\workspace\smart" "com.smartsmart.com.smart" "5" "WVGA854" "armeabi" [INFO] : Running build process: python "C:\Users\ofer.REGISOFT\AppData\Roaming\Titanium\mobilesdk\win32\3.1.2.GA\android\builder.py" "simulator" "smart" "C:\Progra~1\Java\AndroidSdk\sdk" "C:\ofer\companies\Smartsmart\Dropbox\Titanium\workspace\smart" "com.smartsmart.com.smart" "5" "WVGA854" [INFO] logfile = C:\ofer\companies\Smartsmart\Dropbox\Titanium\workspace\smart\build.log [INFO] Building smart for Android ... one moment [INFO] Titanium SDK version: 3.1.2 (08/14/13 12:45 5ceaff8) [INFO] : Emulator is running [INFO] Waiting for the Android Emulator to become available [INFO] Fastdev server running, deploying in Fastdev mode [INFO] Copying CommonJS modules... [INFO] Copying project resources.. [INFO] Detected change in tiapp.xml, or assets deleted. Forcing full re-build... [INFO] Force including all modules... [INFO] Force including all modules... [INFO] Compiling Javascript Resources ... [INFO] Compiling localization files [INFO] Compiling Android Resources... This could take some time [INFO] Installing application on emulator [INFO] Launching application ... smart [INFO] Deployed smart ... Application should be running. [INFO] : Project built successfully in 6m 21s 622ms [INFO] : Running logcat process: python "C:\Users\ofer.REGISOFT\AppData\Roaming\Titanium\mobilesdk\win32\3.1.2.GA\android\builder.py" "logcat" "C:\Progra~1\Java\AndroidSdk\sdk" "-e" [INFO][dalvikvm( 333)] DexOpt: not resolving ambiguous class 'Lorg/apache/http/client/methods/HttpUriRequest;' [INFO][dalvikvm( 333)] DexOpt: not resolving ambiguous class 'Lorg/apache/http/impl/client/DefaultHttpClient;' [INFO][dalvikvm( 333)] DexOpt: not resolving ambiguous class 'Lorg/apache/http/client/methods/HttpUriRequest;' [INFO][dalvikvm( 333)] DexOpt: not resolving ambiguous class 'Lorg/apache/commons/codec/binary/Base64;' [INFO][dalvikvm( 333)] DexOpt: not resolving ambiguous class 'Lorg/apache/commons/codec/binary/Hex;' [INFO][dalvikvm( 333)] DexOpt: not resolving ambiguous class 'Lorg/apache/http/conn/ManagedClientConnection;' [INFO][dalvikvm( 333)] DexOpt: not resolving ambiguous class 'Lorg/apache/http/client/methods/HttpRequestBase;' [INFO][dalvikvm( 333)] DexOpt: not resolving ambiguous class 'Lorg/apache/http/cookie/Cookie;' [INFO][dalvikvm( 333)] DexOpt: not resolving ambiguous class 'Lorg/apache/commons/codec/binary/Base64;' [INFO][dalvikvm( 333)] DexOpt: not resolving ambiguous class 'Lorg/apache/http/conn/scheme/SchemeRegistry;' [INFO][dalvikvm( 333)] DexOpt: not resolving ambiguous class 'Lorg/apache/http/client/methods/HttpPost;' [INFO][dalvikvm( 333)] DexOpt: not resolving ambiguous class 'Lorg/apache/http/client/methods/HttpGet;' [INFO][dalvikvm( 333)] DexOpt: not resolving ambiguous class 'Lorg/apache/http/auth/AuthSchemeFactory;' [INFO][dalvikvm( 333)] DexOpt: not resolving ambiguous class 'Lorg/apache/http/impl/client/BasicCookieStore;' [INFO][dalvikvm( 333)] DexOpt: not resolving ambiguous class 'Lorg/apache/http/impl/client/DefaultHttpClient;' [INFO][dalvikvm( 333)] DexOpt: not resolving ambiguous class 'Lorg/apache/http/client/HttpResponseException;' [INFO][dalvikvm( 333)] DexOpt: not resolving ambiguous class 'Lorg/apache/http/impl/client/DefaultRedirectHandler;' [INFO][dalvikvm( 333)] DexOpt: not resolving ambiguous class 'Lorg/apache/http/impl/client/DefaultHttpClient;' [INFO][dalvikvm( 333)] DexOpt: not resolving ambiguous class 'Lorg/apache/http/conn/ssl/SSLSocketFactory;' [INFO][dalvikvm( 333)] DexOpt: not resolving ambiguous class 'Lorg/apache/commons/codec/binary/Base64;' [WARN][PackageManager( 62)] Code path for pkg : com.smartsmart.com.smart changing from /data/app/com.smartsmart.com.smart-1.apk to /data/app/com.smartsmart.com.smart-2.apk [WARN][PackageManager( 62)] Resource path for pkg : com.smartsmart.com.smart changing from /data/app/com.smartsmart.com.smart-1.apk to /data/app/com.smartsmart.com.smart-2.apk [INFO][ActivityManager( 62)] Force stopping package com.smartsmart.com.smart uid=10034 [INFO][installd( 35)] move /data/dalvik-cache/data@app@com.smartsmart.com.smart-2.apk@classes.dex -> /data/dalvik-cache/data@app@com.smartsmart.com.smart-2.apk@classes.dex [INFO][ActivityManager( 62)] Force stopping package com.smartsmart.com.smart uid=10034 [INFO][ActivityManager( 62)] Start proc com.svox.pico for broadcast com.svox.pico/.VoiceDataInstallerReceiver: pid=334 uid=10009 gids={} [WARN][RecognitionManagerService( 62)] no available voice recognition services found [INFO][ActivityThread( 334)] Pub com.svox.pico.providers.SettingsProvider: com.svox.pico.providers.SettingsProvider [INFO][installd( 35)] unlink /data/dalvik-cache/data@app@com.smartsmart.com.smart-1.apk@classes.dex [INFO][AndroidRuntime( 316)] NOTE: attach of thread 'Binder Thread #3' failed [INFO][ActivityManager( 62)] Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.smartsmart.com.smart/.smartActivity } from pid 347 [INFO][ActivityManager( 62)] Start proc com.smartsmart.com.smart for activity com.smartsmart.com.smart/.smartActivity: pid=355 uid=10034 gids={1015, 1006, 3003} [INFO][dalvikvm( 347)] JNI: AttachCurrentThread (from ???.???) [INFO][AndroidRuntime( 347)] NOTE: attach of thread 'Binder Thread #3' failed [INFO][dalvikvm( 355)] Could not find method android.app.Application.onTrimMemory, referenced from method org.appcelerator.titanium.TiApplication.onTrimMemory [WARN][dalvikvm( 355)] VFY: unable to resolve virtual method 124: Landroid/app/Application;.onTrimMemory (I)V [INFO][TiApplication( 355)] (main) [0,0] checkpoint, app created. [INFO][TiApplication( 355)] (main) [705,705] Titanium 3.1.2 (2013/08/14 12:46 5ceaff8) [INFO][TiApplication( 355)] (main) [16,1187] Titanium Javascript runtime: v8 [INFO][TiRootActivity( 355)] (main) [0,0] checkpoint, on root activity create, savedInstanceState: null [INFO][dalvikvm( 355)] Could not find method android.app.Activity.invalidateOptionsMenu, referenced from method org.appcelerator.titanium.proxy.ActivityProxy.handleInvalidateOptionsMenu [WARN][dalvikvm( 355)] VFY: unable to resolve virtual method 53: Landroid/app/Activity;.invalidateOptionsMenu ()V [WARN][V8Object( 355)] Runtime disposed, cannot set property 'userAgent' [INFO][TiRootActivity( 355)] (main) [0,0] checkpoint, on root activity resume. activity = com.smartsmart.com.smart.smartActivity@4068ec48 [INFO][ActivityManager( 62)] Displayed com.smartsmart.com.smart/.smartActivity: +7s292ms [INFO][dalvikvm( 355)] Could not find method android.view.View.setAlpha, referenced from method org.appcelerator.titanium.view.TiUIView.setOpacity [WARN][dalvikvm( 355)] VFY: unable to resolve virtual method 3485: Landroid/view/View;.setAlpha (F)V [INFO][TiAPI ( 355)] 1 [INFO][ActivityManager( 62)] Starting: Intent { cmp=com.smartsmart.com.smart/org.appcelerator.titanium.TiActivity (has extras) } from pid 355 [INFO][dalvikvm( 355)] Could not find method android.graphics.Bitmap.getByteCount, referenced from method org.appcelerator.titanium.util.TiImageLruCache.sizeOf [WARN][dalvikvm( 355)] VFY: unable to resolve virtual method 438: Landroid/graphics/Bitmap;.getByteCount ()I [ERROR][dalvikvm-heap( 355)] 2360320-byte external allocation too large for this process. [ERROR][GraphicsJNI( 355)] VM won't let us allocate 2360320 bytes [WARN][dalvikvm( 355)] threadid=1: thread exiting with uncaught exception (group=0x40015560) [ERROR][TiApplication( 355)] (main) [3713,7215] Sending event: exception on thread: main msg:java.lang.OutOfMemoryError: bitmap size exceeds VM budget; Titanium 3.1.2,2013/08/14 12:46,5ceaff8 [ERROR][TiApplication( 355)] java.lang.OutOfMemoryError: bitmap size exceeds VM budget [ERROR][TiApplication( 355)] at android.graphics.BitmapFactory.nativeDecodeStream(Native Method) [ERROR][TiApplication( 355)] at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:470) [ERROR][TiApplication( 355)] at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:336) [ERROR][TiApplication( 355)] at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:697) [ERROR][TiApplication( 355)] at android.graphics.drawable.Drawable.createFromStream(Drawable.java:657) [ERROR][TiApplication( 355)] at org.appcelerator.titanium.util.TiUIHelper.loadFastDevDrawable(TiUIHelper.java:818) [ERROR][TiApplication( 355)] at org.appcelerator.titanium.util.TiUIHelper.getResourceDrawable(TiUIHelper.java:830) [ERROR][TiApplication( 355)] at org.appcelerator.titanium.util.TiFileHelper.loadDrawable(TiFileHelper.java:279) [ERROR][TiApplication( 355)] at org.appcelerator.titanium.util.TiUIHelper.buildBackgroundDrawable(TiUIHelper.java:508) [ERROR][TiApplication( 355)] at org.appcelerator.titanium.util.TiUIHelper.buildBackgroundDrawable(TiUIHelper.java:567) [ERROR][TiApplication( 355)] at org.appcelerator.titanium.view.TiUIView.handleBackgroundImage(TiUIView.java:943) [ERROR][TiApplication( 355)] at org.appcelerator.titanium.view.TiUIView.processProperties(TiUIView.java:685) [ERROR][TiApplication( 355)] at ti.modules.titanium.ui.widget.TiUIImageView.processProperties(TiUIImageView.java:809) [ERROR][TiApplication( 355)] at org.appcelerator.kroll.KrollProxy.setModelListener(KrollProxy.java:1162) [ERROR][TiApplication( 355)] at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:469) [ERROR][TiApplication( 355)] at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:460) [ERROR][TiApplication( 355)] at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:438) [ERROR][TiApplication( 355)] at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:476) [ERROR][TiApplication( 355)] at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:460) [ERROR][TiApplication( 355)] at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:438) [ERROR][TiApplication( 355)] at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:476) [ERROR][TiApplication( 355)] at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:460) [ERROR][TiApplication( 355)] at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:438) [ERROR][TiApplication( 355)] at org.appcelerator.titanium.proxy.TiViewProxy.handleAdd(TiViewProxy.java:555) [ERROR][TiApplication( 355)] at org.appcelerator.titanium.proxy.TiViewProxy.add(TiViewProxy.java:533) [ERROR][TiApplication( 355)] at ti.modules.titanium.ui.WindowProxy.windowCreated(WindowProxy.java:277) [ERROR][TiApplication( 355)] at org.appcelerator.titanium.TiActivityWindows.windowCreated(TiActivityWindows.java:32) [ERROR][TiApplication( 355)] at org.appcelerator.titanium.TiBaseActivity.windowCreated(TiBaseActivity.java:437) [ERROR][TiApplication( 355)] at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:512) [ERROR][TiApplication( 355)] at org.appcelerator.titanium.TiActivity.onCreate(TiActivity.java:18) [ERROR][TiApplication( 355)] at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) [ERROR][TiApplication( 355)] at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611) [ERROR][TiApplication( 355)] at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663) [ERROR][TiApplication( 355)] at android.app.ActivityThread.access$1500(ActivityThread.java:117) [ERROR][TiApplication( 355)] at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931) [ERROR][TiApplication( 355)] at android.os.Handler.dispatchMessage(Handler.java:99) [ERROR][TiApplication( 355)] at android.os.Looper.loop(Looper.java:123) [ERROR][TiApplication( 355)] at android.app.ActivityThread.main(ActivityThread.java:3683) [ERROR][TiApplication( 355)] at java.lang.reflect.Method.invokeNative(Native Method) [ERROR][TiApplication( 355)] at java.lang.reflect.Method.invoke(Method.java:507) [ERROR][TiApplication( 355)] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) [ERROR][TiApplication( 355)] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) [ERROR][TiApplication( 355)] at dalvik.system.NativeStart.main(Native Method) [ERROR][AndroidRuntime( 355)] FATAL EXCEPTION: main [ERROR][AndroidRuntime( 355)] java.lang.OutOfMemoryError: bitmap size exceeds VM budget [ERROR][AndroidRuntime( 355)] at android.graphics.BitmapFactory.nativeDecodeStream(Native Method) [ERROR][AndroidRuntime( 355)] at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:470) [ERROR][AndroidRuntime( 355)] at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:336) [ERROR][AndroidRuntime( 355)] at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:697) [ERROR][AndroidRuntime( 355)] at android.graphics.drawable.Drawable.createFromStream(Drawable.java:657) [ERROR][AndroidRuntime( 355)] at org.appcelerator.titanium.util.TiUIHelper.loadFastDevDrawable(TiUIHelper.java:818) [ERROR][AndroidRuntime( 355)] at org.appcelerator.titanium.util.TiUIHelper.getResourceDrawable(TiUIHelper.java:830) [ERROR][AndroidRuntime( 355)] at org.appcelerator.titanium.util.TiFileHelper.loadDrawable(TiFileHelper.java:279) [ERROR][AndroidRuntime( 355)] at org.appcelerator.titanium.util.TiUIHelper.buildBackgroundDrawable(TiUIHelper.java:508) [ERROR][AndroidRuntime( 355)] at org.appcelerator.titanium.util.TiUIHelper.buildBackgroundDrawable(TiUIHelper.java:567) [ERROR][AndroidRuntime( 355)] at org.appcelerator.titanium.view.TiUIView.handleBackgroundImage(TiUIView.java:943) [ERROR][AndroidRuntime( 355)] at org.appcelerator.titanium.view.TiUIView.processProperties(TiUIView.java:685) [ERROR][AndroidRuntime( 355)] at ti.modules.titanium.ui.widget.TiUIImageView.processProperties(TiUIImageView.java:809) [ERROR][AndroidRuntime( 355)] at org.appcelerator.kroll.KrollProxy.setModelListener(KrollProxy.java:1162) [ERROR][AndroidRuntime( 355)] at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:469) [ERROR][AndroidRuntime( 355)] at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:460) [ERROR][AndroidRuntime( 355)] at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:438) [ERROR][AndroidRuntime( 355)] at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:476) [ERROR][AndroidRuntime( 355)] at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:460) [ERROR][AndroidRuntime( 355)] at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:438) [ERROR][AndroidRuntime( 355)] at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:476) [ERROR][AndroidRuntime( 355)] at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:460) [ERROR][AndroidRuntime( 355)] at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:438) [ERROR][AndroidRuntime( 355)] at org.appcelerator.titanium.proxy.TiViewProxy.handleAdd(TiViewProxy.java:555) [ERROR][AndroidRuntime( 355)] at org.appcelerator.titanium.proxy.TiViewProxy.add(TiViewProxy.java:533) [ERROR][AndroidRuntime( 355)] at ti.modules.titanium.ui.WindowProxy.windowCreated(WindowProxy.java:277) [ERROR][AndroidRuntime( 355)] at org.appcelerator.titanium.TiActivityWindows.windowCreated(TiActivityWindows.java:32) [ERROR][AndroidRuntime( 355)] at org.appcelerator.titanium.TiBaseActivity.windowCreated(TiBaseActivity.java:437) [ERROR][AndroidRuntime( 355)] at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:512) [ERROR][AndroidRuntime( 355)] at org.appcelerator.titanium.TiActivity.onCreate(TiActivity.java:18) [ERROR][AndroidRuntime( 355)] at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) [ERROR][AndroidRuntime( 355)] at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611) [ERROR][AndroidRuntime( 355)] at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663) [ERROR][AndroidRuntime( 355)] at android.app.ActivityThread.access$1500(ActivityThread.java:117) [ERROR][AndroidRuntime( 355)] at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931) [ERROR][AndroidRuntime( 355)] at android.os.Handler.dispatchMessage(Handler.java:99) [ERROR][AndroidRuntime( 355)] at android.os.Looper.loop(Looper.java:123) [ERROR][AndroidRuntime( 355)] at android.app.ActivityThread.main(ActivityThread.java:3683) [ERROR][AndroidRuntime( 355)] at java.lang.reflect.Method.invokeNative(Native Method) [ERROR][AndroidRuntime( 355)] at java.lang.reflect.Method.invoke(Method.java:507) [ERROR][AndroidRuntime( 355)] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) [ERROR][AndroidRuntime( 355)] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) [ERROR][AndroidRuntime( 355)] at dalvik.system.NativeStart.main(Native Method) [WARN][ActivityManager( 62)] Force finishing activity com.smartsmart.com.smart/org.appcelerator.titanium.TiActivity [WARN][ActivityManager( 62)] Force finishing activity com.smartsmart.com.smart/.smartActivity [WARN][ActivityManager( 62)] Activity pause timeout for HistoryRecord{4062e860 com.smartsmart.com.smart/org.appcelerator.titanium.TiActivity} [WARN][ActivityManager( 62)] Activity destroy timeout for HistoryRecord{4066c1a0 com.smartsmart.com.smart/.smartActivity} [WARN][ActivityManager( 62)] Activity destroy timeout for HistoryRecord{4062e860 com.smartsmart.com.smart/org.appcelerator.titanium.TiActivity} [INFO][Process ( 355)] Sending signal. PID: 355 SIG: 9 [INFO][ActivityManager( 62)] Process com.smartsmart.com.smart (pid 355) has died. [INFO][WindowManager( 62)] WIN DEATH: Window{4071bf68 com.smartsmart.com.smart/com.smartsmart.com.smart.smartActivity paused=true} [INFO] : Logcat shutdown successfully ~~~ Thank you

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>