Error on startup android application (Titanium framework) - android

I've a problem with my Titanium Android application. The app works correctly in iOS, but not in Android.
I get the following error:
V8Object: (KrollRuntimeThread) [88,88] Runtime disposed, cannot set property 'userAgent'
[INFO] : dalvikvm: Could not find method android.app.Activity.checkSelfPermission, referenced from method ti.modules.titanium.media.MediaModule.hasCameraPermission
[INFO] : dalvikvm: Could not find method android.app.Activity.checkSelfPermission, referenced from method ti.modules.titanium.media.MediaModule.hasStoragePermission
[WARN] : dalvikvm: VFY: unable to resolve virtual method 27: Landroid/app/Activity;.checkSelfPermission (Ljava/lang/String;)I
[WARN] : dalvikvm: VFY: unable to resolve virtual method 27: Landroid/app/Activity;.checkSelfPermission (Ljava/lang/String;)I
[INFO] : dalvikvm: Could not find method android.app.Activity.checkSelfPermission, referenced from method ti.modules.titanium.media.MediaModule.hasCameraPermissions
[WARN] : dalvikvm: VFY: unable to resolve virtual method 27: Landroid/app/Activity;.checkSelfPermission (Ljava/lang/String;)I
[INFO] : dalvikvm: Could not find method android.app.Activity.requestPermissions, referenced from method ti.modules.titanium.media.MediaModule.requestCameraPermissions
[WARN] : dalvikvm: VFY: unable to resolve virtual method 80: Landroid/app/Activity;.requestPermissions ([Ljava/lang/String;I)V
[WARN] : dalvikvm: threadid=10: thread exiting with uncaught exception (group=0x41fe92a0)
Can anybody help me help me?

Sory for the previos unformatted message.I send a screenshot of log file.
android crashed log

This issue relates V8Object: (KrollRuntimeThread) Runtime disposed, cannot set property 'userAge. Check the link

Related

DB didn't get created in Cordova

I have problem with my first application in Android Studio-Cordova.
I used for my application html,css, jquery and sql.
The application is correct, because I'm attending an on-line course with related code.
It starts, but the message of creating db isn't appeared.
the log of Android Studio is this:
Client not ready yet..Waiting for process to come online
Connected to process 2679 on device Nexus_5_API_19_armeabi_v7a [emulator-5554]
I/InstantRun: Instant Run Runtime started. Android package is com.videocorsi.test, real application class is null.
W/InstantRun: No instant run dex files added to classpath
I/CordovaLog: Changing log level to DEBUG(3)
I/CordovaActivity: Apache Cordova native platform version 6.0.0 is starting
D/CordovaActivity: CordovaActivity.onCreate()
I/dalvikvm: Could not find method android.app.Activity.checkSelfPermission, referenced from method org.apache.cordova.CordovaInterfaceImpl.hasPermission
W/dalvikvm: VFY: unable to resolve virtual method 2: Landroid/app/Activity;.checkSelfPermission (Ljava/lang/String;)I
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0023
I/dalvikvm: Could not find method android.app.Activity.requestPermissions, referenced from method org.apache.cordova.CordovaInterfaceImpl.requestPermissions
W/dalvikvm: VFY: unable to resolve virtual method 136: Landroid/app/Activity;.requestPermissions ([Ljava/lang/String;I)V
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0029
V/WebViewChromium: Binding Chromium to the background looper Looper (main, tid 1) {9dd95220}
I/chromium: [INFO:library_loader_hooks.cc(112)] Chromium logging enabled: level = 0, default verbosity = 0
I/BrowserProcessMain: Initializing chromium process, renderers=0
W/chromium: [WARNING:proxy_service.cc(888)] PAC support disabled because there is no system implementation
D/dalvikvm: GC_FOR_ALLOC freed 142K, 12% free 3463K/3892K, paused 86ms, total 88ms
I/dalvikvm-heap: Grow heap (frag case) to 6.078MB for 2536936-byte allocation
D/dalvikvm: GC_FOR_ALLOC freed 0K, 7% free 5941K/6372K, paused 58ms, total 58ms
I/dalvikvm: Could not find method android.webkit.CookieManager.setAcceptThirdPartyCookies, referenced from method org.apache.cordova.engine.SystemCookieManager.<init>
W/dalvikvm: VFY: unable to resolve virtual method 953: Landroid/webkit/CookieManager;.setAcceptThirdPartyCookies (Landroid/webkit/WebView;Z)V
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0046
I/dalvikvm: Could not find method android.webkit.CookieManager.flush, referenced from method org.apache.cordova.engine.SystemCookieManager.flush
W/dalvikvm: VFY: unable to resolve virtual method 947: Landroid/webkit/CookieManager;.flush ()V
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0019
W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/webkit/ClientCertRequest;)
W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/webkit/ClientCertRequest;)
I/dalvikvm: Could not find method android.webkit.WebViewClient.onReceivedClientCertRequest, referenced from method org.apache.cordova.engine.SystemWebViewClient.onReceivedClientCertRequest
W/dalvikvm: VFY: unable to resolve virtual method 1147: Landroid/webkit/WebViewClient;.onReceivedClientCertRequest (Landroid/webkit/WebView;Landroid/webkit/ClientCertRequest;)V
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0031
W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/webkit/PermissionRequest;)
I/dalvikvm: Could not find method android.webkit.PermissionRequest.getResources, referenced from method org.apache.cordova.engine.SystemWebChromeClient.onPermissionRequest
W/dalvikvm: VFY: unable to resolve virtual method 964: Landroid/webkit/PermissionRequest;.getResources ()[Ljava/lang/String;
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0023
I/dalvikvm: Could not find method android.webkit.WebChromeClient$FileChooserParams.createIntent, referenced from method org.apache.cordova.engine.SystemWebChromeClient.onShowFileChooser
W/dalvikvm: VFY: unable to resolve virtual method 969: Landroid/webkit/WebChromeClient$FileChooserParams;.createIntent ()Landroid/content/Intent;
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0021
D/SystemWebViewEngine: CordovaWebView is running on device made by: unknown
D/PluginManager: init()
D/CordovaWebViewImpl: >>> loadUrl(file:///android_asset/www/index.html)
D/CordovaActivity: Started the activity.
D/CordovaActivity: Resumed the activity.
D/OpenGLRenderer: Enabling debug mode 0
I/Choreographer: Skipped 81 frames! The application may be doing too much work on its main thread.
W/AwContents: nativeOnDraw failed; clearing to background color.
W/AwContents: nativeOnDraw failed; clearing to background color.
W/AwContents: nativeOnDraw failed; clearing to background color.
W/AwContents: nativeOnDraw failed; clearing to background color.
D/CordovaWebViewImpl: onPageDidNavigate(file:///android_asset/www/index.html)
D/JsMessageQueue: Set native->JS mode to EvalBridgeMode
I/chromium: [INFO:async_pixel_transfer_manager_android.cc(56)] Async pixel transfers not supported
I/chromium: [INFO:async_pixel_transfer_manager_android.cc(56)] Async pixel transfers not supported
I/Choreographer: Skipped 74 frames! The application may be doing too much work on its main thread.
D/SystemWebChromeClient: file:///android_asset/www/cordova_plugins.js: Line 7 : Uncaught SyntaxError: Unexpected string
I/chromium: [INFO:CONSOLE(7)] "Uncaught SyntaxError: Unexpected string", source: file:///android_asset/www/cordova_plugins.js (7)
D/CordovaWebViewImpl: onPageFinished(file:///android_asset/www/index.html)
D/SystemWebChromeClient: file:///android_asset/www/js/index.js: Line 39 : Uncaught ReferenceError: listeningElement is not defined
I/chromium: [INFO:CONSOLE(39)] "Uncaught ReferenceError: listeningElement is not defined", source: file:///android_asset/www/js/index.js (39)
D/SystemWebChromeClient: file:///android_asset/www/index.html: Line 237 : Uncaught TypeError: Cannot call method 'transaction' of undefined
I/chromium: [INFO:CONSOLE(237)] "Uncaught TypeError: Cannot call method 'transaction' of undefined", source: file:///android_asset/www/index.html (237)
What Can I do?
the problem was in this file index.js . I had commented this:
receivedEvent: function(id) { var parentElement =document.getElementById(id);
// var listeningElement = parentElement.querySelector('.listening');
//var receivedElement = parentElement.querySelector('.received');
// listeningElement.setAttribute('style', 'display:none;'); //receivedElement.setAttribute('style', 'display:block;');
console.log('Received Event: ' + id); }
Then, I had move the tag script with my js/jquery code at the end of the tag

Grid, empty Mapview in android 2.3 Appcelerator

I programmed an application with titanium appcelerator.
I've been trying to work days but no way.I have tried everything I found on the internet without solution.
The fact is that there is no way to display a mapview on a smartphone with android 2.3 but if it works well on android 4 and above.
I only see the grid and zoom controls on adroid 2.3.
I have successfully installed Google Play Services in the latest version, I've had add mapview directly to the window without success, I have also tried modal window set to false and nothing.
The Api Key I have it configured correctly since I uploaded the application to Google Play and working properly as I said in android 4 and above.
SDK 3.2.3 / 3.3.0
tiapp.xml
<android xmlns:android="http://schemas.android.com/apk/res/android">
<manifest android:installLocation="preferExternal"
android:versionCode="10" android:versionName="1.2.0">
<application android:hardwareAccelerated="true" android:largeHeap="true"/>
<uses-sdk android:maxSdkVersion="19"
android:minSdkVersion="10" android:targetSdkVersion="19"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
<uses-feature android:glEsVersion="0x00020000" android:required="true"/>
<uses-permission android:name="com.example.app.permission.MAPS_RECEIVE"/>
<permission android:name="com.example.app.permission.MAPS_RECEIVE" android:protectionLevel="signature"/>
<application>
<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="XXX"/>
</application>
</manifest>
</android>
.js
var Map = require('ti.map');
var mapview = Map.createView({
mapType: Map.NORMAL_TYPE,
region: {latitude: 40.6854154,
longitude: -17.88848876953125,
latitudeDelta:0.1, longitudeDelta:0.1},
animate:true,
regionFit:true,
userLocation:true,
annotations:[pointIni,pointFin]
});
I need help, thanks.
Hi here is the debug log mode in android 2.3 device.
One of the log messages is not installed Google Play Services but I assure you if this.
[WARN] : dalvikvm: VFY: unable to resolve static field 1623 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 1623 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 1618 (common_google_play_services_install_title) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 1614 (common_google_play_services_enable_title) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 1629 (common_google_play_services_update_title) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 1626 (common_google_play_services_unsupported_title) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 1622 (common_google_play_services_network_error_title) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 1623 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 1623 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 1620 (common_google_play_services_invalid_account_title) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 1623 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 1626 (common_google_play_services_unsupported_title) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 1615 (common_google_play_services_install_button) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 1612 (common_google_play_services_enable_button) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 1627 (common_google_play_services_update_button) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 1623 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 1617 (common_google_play_services_install_text_tablet) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 1616 (common_google_play_services_install_text_phone) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 1613 (common_google_play_services_enable_text) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 1628 (common_google_play_services_update_text) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 1625 (common_google_play_services_unsupported_text) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 1621 (common_google_play_services_network_error_text) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 1619 (common_google_play_services_invalid_account_text) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 1624 (common_google_play_services_unsupported_date_text) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve instance field 42
[WARN] : dalvikvm: VFY: unable to resolve static field 1623 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[ERROR] : GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
[INFO] : Google Play services is installed.
[INFO] : TiVerify: (Timer-0) [980,4266] Succesfully verified module licenses
[INFO] : dalvikvm: Jit: resizing JitTable from 1024 to 2048
[WARN] : dalvikvm: VFY: unable to resolve static field 1633 (MapAttrs) in Lcom/google/android/gms/R$styleable;
[ERROR] : GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
[INFO] : I/Google Maps Android API: Google Play services client version: 4132500
[INFO] : dalvikvm: Could not find method gui.a, referenced from method gqh.a
[WARN] : dalvikvm: VFY: unable to resolve static method 24934: Lgui;.a (Landroid/content/Context;)Lgrh;
[ERROR] : dalvikvm: Could not find class 'gpq', referenced from method gpr.a
[WARN] : dalvikvm: VFY: unable to resolve new-instance 4090 (Lgpq;) in Lgpr;
[ERROR] : dalvikvm: Could not find class 'gpq', referenced from method gpr.a
[WARN] : dalvikvm: VFY: unable to resolve new-instance 4090 (Lgpq;) in Lgpr;
[WARN] : dalvikvm: VFY: unable to resolve new-instance 4090 (Lgpq;) in Lgpr;
[ERROR] : dalvikvm: Could not find class 'gpq', referenced from method gpr.a
[INFO] : I/Google Maps Android API: Google Play services package version: 5089012
[WARN] : dalvikvm: VFY: unable to resolve static field 20875 (t) in Lyo;
[WARN] : dalvikvm: Unable to resolve superclass of Lotj; (653)
[WARN] : dalvikvm: Link of class 'Lotj;' failed
[WARN] : dalvikvm: Unable to resolve superclass of Lokj; (8003)
[WARN] : dalvikvm: Link of class 'Lokj;' failed
[WARN] : dalvikvm: Unable to resolve superclass of Lovw; (7709)
[WARN] : dalvikvm: Link of class 'Lovw;' failed
[ERROR] : dalvikvm: Could not find class 'ovw', referenced from method oyf.a
[WARN] : dalvikvm: VFY: unable to resolve new-instance 8070 (Lovw;) in Loyf;
[WARN] : dalvikvm: VFY: unable to resolve static field 20875 (t) in Lyo;
[INFO] : dalvikvm: Could not find method android.content.Context.registerComponentCallbacks, referenced from method oze.registerComponentCallbacks
[WARN] : dalvikvm: VFY: unable to resolve virtual method 1553: Landroid/content/Context;.registerComponentCallbacks (Landroid/content/ComponentCallbacks;)V
[INFO] : dalvikvm: Could not find method android.content.Context.unregisterComponentCallbacks, referenced from method oze.unregisterComponentCallbacks
[WARN] : dalvikvm: VFY: unable to resolve virtual method 1566: Landroid/content/Context;.unregisterComponentCallbacks (Landroid/content/ComponentCallbacks;)V
[INFO] : dalvikvm: Could not find method osw.dispatchHoverEvent, referenced from method oli.dispatchHoverEvent
[WARN] : dalvikvm: VFY: unable to resolve virtual method 44561: Losw;.dispatchHoverEvent (Landroid/view/MotionEvent;)Z
[INFO] : dalvikvm: Failed resolving Lcom/google/android/gms/location/internal/ParcelableGeofence; interface 4023 'Lglm;'
[ERROR] : dalvikvm: Could not find class 'com.google.android.gms.location.internal.ParcelableGeofence', referenced from method gls.a
[WARN] : dalvikvm: Link of class 'Lcom/google/android/gms/location/internal/ParcelableGeofence;' failed
[WARN] : dalvikvm: VFY: unable to resolve check-cast 2086 (Lcom/google/android/gms/location/internal/ParcelableGeofence;) in Lgls;
[INFO] : dalvikvm: Could not find method android.app.Activity.getFragmentManager, referenced from method bmo.a
[WARN] : dalvikvm: VFY: unable to resolve virtual method 1187: Landroid/app/Activity;.getFragmentManager ()Landroid/app/FragmentManager;
[WARN] : dalvikvm: VFY: unable to resolve instance field 675
[INFO] : dalvikvm: Could not find method android.app.AlertDialog$Builder.<init>, referenced from method bmo.b
[WARN] : dalvikvm: VFY: unable to resolve direct method 1245: Landroid/app/AlertDialog$Builder;.<init> (Landroid/content/Context;I)V
[WARN] : TiDrawableReference: (main) [5540,9806] Could not open stream to get bitmap
[WARN] : TiDrawableReference: (main) [1,9807] Could not open stream to get bitmap
[WARN] : AnnotationProxy: (main) [1,9808] Unable to get the image from the path:
[ERROR] : E/ : Creating OpenGL 1.1 Session
[INFO] : dalvikvm: Failed resolving Lcom/google/android/gms/location/internal/ParcelableGeofence; interface 4023 'Lglm;'
[WARN] : dalvikvm: Link of class 'Lcom/google/android/gms/location/internal/ParcelableGeofence;' failed
[WARN] : dalvikvm: VFY: unable to resolve static field 4203 (CREATOR) in Lcom/google/android/gms/location/internal/ParcelableGeofence;
[WARN] : dalvikvm: VFY: unable to resolve static field 1633 (MapAttrs) in Lcom/google/android/gms/R$styleable;
[WARN] : KeyCharacterMap: No keyboard for id 65538
[WARN] : KeyCharacterMap: Using default keymap: /system/usr/keychars/qwerty.kcm.bin

NativeActivity and GooglePlayServices

I am trying to get a NativeActivity app to implement GooglePlayServices. I'm currently trying to do this by creating my own class that extends NativeActivity.
My Google Play services Revision is 18 shown in my Android SDK Manager. I am running on a device that is running Android API 10.
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="10"/>
Here is a snippet from my activity
public class KablamActivity extends NativeActivity {
#Override
protected void onResume(){
super.onResume();
GooglePlayServicesUtil.isGooglePlayServicesAvailable(this.getApplicationContext());
}
}
The following output is saying my Google Play services is out of date as well, but there is supposed to be a dialog popping up telling me something. What do I need to do to resolve the android.app.AlertDialog and android.app.Activity.getFragmentManager issues?
dalvikvm Could not find method android.app.AlertDialog$Builder.<init>, referenced from method com.google.android.gms.common.GooglePlayServicesUtil.a
dalvikvm VFY: unable to resolve direct method 79: Landroid/app/AlertDialog$Builder;.<init> (Landroid/content/Context;I)V
dalvikvm VFY: replacing opcode 0x70 at 0x002c
dalvikvm Could not find method android.app.Activity.getFragmentManager, referenced from method com.google.android.gms.common.GooglePlayServicesUtil.b
dalvikvm VFY: unable to resolve virtual method 28: Landroid/app/Activity;.getFragmentManager ()Landroid/app/FragmentManager;
dalvikvm VFY: replacing opcode 0x6e at 0x0023
dalvikvm VFY: dead code 0x0026-0030 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.b (ILandroid/app/Activity;Landroid/support/v4/app/Fragment;ILandroid/content/DialogInterface$OnCancelListener;)Z
dalvikvm DexOpt: couldn't find field Landroid/content/res/Configuration;.smallestScreenWidthDp
dalvikvm VFY: unable to resolve instance field 53
dalvikvm VFY: replacing opcode 0x52 at 0x0012
dalvikvm VFY: dead code 0x0014-0018 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.b (Landroid/content/res/Resources;)Z
GooglePlayServicesUtil Google Play services out of date. Requires 5077000 but found 4452034

Error message SERVICE_INVALID when getting device token in Android Emulator

I have signed up cloud.google.com and make App. I generated server key (Could Dashboard -> Select Project -> APIs & Auth -> Credentials -> Server key)
I use application ID (Google API Project Number) as sender ID and server API Key as GCM API Key.
And I run in Android Emulator.
My environment:
OS X 10.9
Titanium SDK 3.2
Android SDK 4.4
ti.cloudpush 3.2
Edited - log added
Titanium Command-Line Interface, CLI version 3.2.0-cr3, Titanium SDK version 3.2.0.v20131210191510
Copyright (c) 2012-2013, Appcelerator, Inc. All Rights Reserved.
Please report bugs to http://jira.appcelerator.org/
[INFO] : Found Titanium module id=ti.cloud version=latest platform=commonjs deploy-type=development path=/Users/...//Titanium/modules/commonjs/ti.cloud/3.2.0
[INFO] : Found Titanium module id=ti.cloudpush version=latest platform=android deploy-type=development path=/Users/...//Titanium/modules/android/ti.cloudpush/3.2.0
[INFO] : Found Titanium plugin id=ti.alloy version=1.0
[INFO] : Deploy type: development
[INFO] : Building for target: emulator
[INFO] : Building for emulator: titanium_2_WVGA854
[INFO] : Targeting Android SDK: 19
[INFO] : Building for the following architectures: armeabi, armeabi-v7a, x86
[INFO] : Signing with keystore: /Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/dev_keystore (tidev)
[INFO] : Debugging disabled
[INFO] : Profiler disabled
[INFO] : Forcing rebuild: /.../push/build/android/build-manifest.json does not exist
[INFO] : Found Alloy app in /.../push/app
[INFO] : Executing Alloy compile: /usr/local/bin/node /usr/local/bin/alloy compile /.../push/app --config platform=android,version=0,simtype=none,devicefamily=none,deploytype=development
[INFO] : ----- MVC GENERATION -----
[INFO] : [global style] loading from cache...
[INFO] : [index.xml] view processing...
[INFO] : style: "index.tss"
[INFO] : view: "index.xml"
[INFO] : controller: "index.js"
[INFO] : created: "Resources/android/alloy/controllers/index.js"
[INFO] : created: "Resources/android/alloy/styles/index.js"
[INFO] :
[INFO] : [app.js] using cached app.js...
[INFO] :
[INFO] : ----- OPTIMIZING -----
[INFO] : - android/alloy.js
[INFO] : - android/alloy/sync/localStorage.js
[INFO] : - android/alloy/sync/properties.js
[INFO] : - android/alloy/sync/sql.js
[INFO] :
[INFO] : Alloy compiled in 0.40172s
[INFO] : Alloy compiler completed successfully
[INFO] : Launching emulator: titanium_2_WVGA854
[INFO] : Running: /Volumes/data/android/tools/emulator "-avd" "titanium_2_WVGA854" "-port" "5554" "-no-boot-anim" "-partition-size" "128" "-sdcard" "/Users/krish/.titanium/titanium_2_WVGA854.sdcard"
[INFO] : Processing JavaScript files
[INFO] : Writing /.../push/build/android/bin/assets/app.json
[INFO] : Extracting module resources: /Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-network.res.zip
[INFO] : Extracting module resources: /Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-xml.res.zip
[INFO] : Extracting module resources: /Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-analytics.res.zip
[INFO] : Extracting module resources: /Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-android.res.zip
[INFO] : Extracting module resources: /Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-app.res.zip
[INFO] : Extracting module resources: /Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-ui.res.zip
[INFO] : Extracting module resources: /Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-filesystem.res.zip
[INFO] : Extracting module resources: /Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-media.res.zip
[INFO] : Extracting module resources: /Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-locale.res.zip
[INFO] : Extracting module resources: /Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-utils.res.zip
[INFO] : Extracting module resources: /Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-geolocation.res.zip
[INFO] : Extracting module resources: /Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-accelerometer.res.zip
[INFO] : Extracting module resources: /Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-contacts.res.zip
[INFO] : Extracting module resources: /Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-map.res.zip
[INFO] : Extracting module resources: /Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-gesture.res.zip
[INFO] : Extracting module resources: /Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-calendar.res.zip
[INFO] : Extracting module resources: /Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-platform.res.zip
[INFO] : Extracting module resources: /Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-database.res.zip
[INFO] : No aidl files to compile, continuing
[INFO] : Generating i18n files
[INFO] : Generating /.../push/build/android/res/values/theme.xml
[INFO] : Packaging application: /Volumes/data/android/build-tools/android-4.4/aapt "package" "-f" "-m" "-J" "/.../push/build/android/gen" "-M" "/.../push/build/android/AndroidManifest.xml" "-A" "/.../push/build/android/bin/assets" "-S" "/.../push/build/android/res" "-I" "/Volumes/data/android/platforms/android-19/android.jar" "-I" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/titanium.jar" "-F" "/.../push/build/android/bin/app.ap_"
[INFO] : Building Java source files: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/javac "-J-Xmx256M" "-encoding" "utf8" "-bootclasspath" "/Volumes/data/android/platforms/android-19/android.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/kroll-v8.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-network.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/thirdparty.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-xml.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/jaxen-1.1.1.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-analytics.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-android.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/ti-commons-codec-1.3.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/kroll-common.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/titanium.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-app.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-ui.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/android-support-v4.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/nineoldandroids-appc-2.4.0.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-filesystem.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-media.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-locale.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-utils.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-geolocation.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-accelerometer.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-contacts.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-map.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-gesture.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-calendar.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-platform.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-database.jar:/Users/...//Titanium/modules/android/ti.cloudpush/3.2.0/cloudpush.jar:/Users/...//Titanium/modules/android/ti.cloudpush/3.2.0/lib/bcprov-jdk15-146-shrink.jar:/Users/...//Titanium/modules/android/ti.cloudpush/3.2.0/lib/google-play-services.jar:/Users/...//Titanium/modules/android/ti.cloudpush/3.2.0/lib/signpost-commonshttp4-1.2.1.1.jar:/Users/...//Titanium/modules/android/ti.cloudpush/3.2.0/lib/signpost-core-1.2.1.1.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/kroll-apt.jar:/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/lib/titanium-verify.jar:ApplicationStylesheet.class:Manifest.class:PushActivity.class:PushAppInfo.class:PushApplication.class:R.class" "-d" "/.../push/build/android/bin/classes" "-proc:none" "-target" "1.6" "-source" "1.6" "#/.../push/build/android/java-sources.txt"
[INFO] : Running dexer: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java "-Xmx1024M" "-XX:-UseGCOverheadLimit" "-Djava.ext.dirs=/Volumes/data/android/platform-tools" "-jar" "/Volumes/data/android/build-tools/android-4.4/lib/dx.jar" "--dex" "--output=/.../push/build/android/bin/classes.dex" "/.../push/build/android/bin/classes" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/lib/titanium-verify.jar" "/Users/...//Titanium/modules/android/ti.cloudpush/3.2.0/cloudpush.jar" "/Users/...//Titanium/modules/android/ti.cloudpush/3.2.0/lib/bcprov-jdk15-146-shrink.jar" "/Users/...//Titanium/modules/android/ti.cloudpush/3.2.0/lib/google-play-services.jar" "/Users/...//Titanium/modules/android/ti.cloudpush/3.2.0/lib/signpost-commonshttp4-1.2.1.1.jar" "/Users/...//Titanium/modules/android/ti.cloudpush/3.2.0/lib/signpost-core-1.2.1.1.jar" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/kroll-v8.jar" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-network.jar" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/thirdparty.jar" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-xml.jar" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/jaxen-1.1.1.jar" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-analytics.jar" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-android.jar" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/ti-commons-codec-1.3.jar" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/kroll-common.jar" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/titanium.jar" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-app.jar" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-ui.jar" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/android-support-v4.jar" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/nineoldandroids-appc-2.4.0.jar" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-filesystem.jar" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-media.jar" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-locale.jar" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-utils.jar" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-geolocation.jar" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-accelerometer.jar" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-contacts.jar" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-map.jar" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-gesture.jar" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-calendar.jar" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-platform.jar" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/modules/titanium-database.jar"
[INFO] : Creating unsigned apk
[INFO] : Processing /.../push/build/android/src
[INFO] : Writing unsigned apk: /.../push/build/android/bin/app-unsigned.apk
[INFO] : Determining signature algorithm: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/keytool "-J-Duser.language=en" "-v" "-list" "-keystore" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/dev_keystore" "**********" "tirocks" "-alias" "tidev"
[INFO] : Using MD5withRSA signature algorithm
[INFO] : Signing apk: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/jarsigner "-sigalg" "MD5withRSA" "-digestalg" "SHA1" "-keystore" "/Users/...//Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/dev_keystore" "-storepass" "*******" "-signedjar" "/.../push/build/android/bin/push.apk" "/.../push/build/android/bin/app-unsigned.apk" "tidev"
[INFO] : Device is booted
[INFO] : SD card not required, skipping mount check
[INFO] : Emulator ready!
[INFO] : Aligning zip file: /Volumes/data/android/tools/zipalign "-v" "4" "/.../push/build/android/bin/push.apk" "/.../push/build/android/bin/push.apkz"
[INFO] : Writing build manifest: /.../push/build/android/build-manifest.json
[INFO] : Making sure the adb server is running
[INFO] : Removing deploy.json from SD card
[INFO] : Installing apk: /.../push/build/android/bin/push.apk
[INFO] : App successfully installed
[INFO] : Starting app: com.gsmusic.com/.PushActivity
[INFO] : Application pid: 452
[INFO] : Project built successfully in 1m 22s 520ms
-- Start application log -----------------------------------------------------
[INFO] : dalvikvm: Could not find method android.app.Application.onTrimMemory, referenced from method org.appcelerator.titanium.TiApplication.onTrimMemory
[WARN] : dalvikvm: VFY: unable to resolve virtual method 132: Landroid/app/Application;.onTrimMemory (I)V
[INFO] : TiApplication: (main) [0,0] checkpoint, app created.
[INFO] : TiApplication: (main) [347,347] Titanium 3.2.0 (2013/12/10 19:16 1de32ee)
[INFO] : TiDbHelper: (main) [193,540] No value in database for platform key: 'unique_machine_id' returning supplied default ''
[INFO] : TiDbHelper: (main) [35,575] No value in database for platform key: 'hardware_machine_id' returning supplied default ''
[INFO] : TiApplication: (main) [279,854] Titanium Javascript runtime: v8
[INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null
[INFO] : TiAnalyticsDb: (main) [76,76] Upgrading Database from 1 to 4
[INFO] : dalvikvm: Could not find method android.app.Activity.invalidateOptionsMenu, referenced from method org.appcelerator.titanium.proxy.ActivityProxy.handleInvalidateOptionsMenu
[WARN] : dalvikvm: VFY: unable to resolve virtual method 56: Landroid/app/Activity;.invalidateOptionsMenu ()V
[WARN] : V8Object: Runtime disposed, cannot set property 'userAgent'
[ERROR] : dalvikvm: Could not find class 'android.app.Notification$Builder', referenced from method ti.cloudpush.CloudpushModuleGeneric.showTrayNotification
[WARN] : dalvikvm: VFY: unable to resolve new-instance 34 (Landroid/app/Notification$Builder;) in Lti/cloudpush/CloudpushModuleGeneric;
[WARN] : CloudpushModule: (KrollRuntimeThread) [3065,3141] Setting 'enabled' is not required for GCM; it is sufficient to only 'retrieveDeviceToken'.
[INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity resume. activity = com.gsmusic.com.PushActivity#40590838
[INFO] : dalvikvm: Could not find method android.view.View.setTranslationX, referenced from method org.appcelerator.titanium.view.TiUIView.resetTranslationX
[WARN] : dalvikvm: VFY: unable to resolve virtual method 3726: Landroid/view/View;.setTranslationX (F)V
[INFO] : dalvikvm: Could not find method android.view.View.setTranslationY, referenced from method org.appcelerator.titanium.view.TiUIView.resetTranslationY
[WARN] : dalvikvm: VFY: unable to resolve virtual method 3727: Landroid/view/View;.setTranslationY (F)V
[INFO] : dalvikvm: Could not find method android.view.View.setAlpha, referenced from method org.appcelerator.titanium.view.TiUIView.setAlpha
[WARN] : dalvikvm: VFY: unable to resolve virtual method 3694: Landroid/view/View;.setAlpha (F)V
[WARN] : TiVerify: (Timer-0) [5000,5000] Verifying module licenses...
[WARN] : dalvikvm: VFY: unable to resolve static field 980 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 980 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 975 (common_google_play_services_install_title) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 971 (common_google_play_services_enable_title) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 985 (common_google_play_services_update_title) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 982 (common_google_play_services_unsupported_title) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 979 (common_google_play_services_network_error_title) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 980 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 980 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 977 (common_google_play_services_invalid_account_title) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 980 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 972 (common_google_play_services_install_button) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 969 (common_google_play_services_enable_button) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 983 (common_google_play_services_update_button) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 980 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 974 (common_google_play_services_install_text_tablet) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 973 (common_google_play_services_install_text_phone) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 970 (common_google_play_services_enable_text) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 984 (common_google_play_services_update_text) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 981 (common_google_play_services_unsupported_text) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 978 (common_google_play_services_network_error_text) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve static field 976 (common_google_play_services_invalid_account_text) in Lcom/google/android/gms/R$string;
[WARN] : dalvikvm: VFY: unable to resolve instance field 35
[WARN] : dalvikvm: VFY: unable to resolve static field 980 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
[ERROR] : GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
[WARN] : GooglePlayServicesUtil: Google Play services is missing.
[INFO] : ALERT: (KrollRuntimeThread) [960,5960] Failed to register for push! Google Play Services is not ready. Error:SERVICE_MISSING
[INFO] : TiVerify: (Timer-0) [584,6544] Succesfully verified module licenses
I use application ID as sender ID
I'm not sure what you mean by application ID, but you should use the Google API Project Number as sender ID.

Could not find class 'com.google.android.maps.GeoPoint', referenced from method

I have one user running my app getting the following error, which I can't reproduce on my phone or I haven't see on any other phone.
Can any one suggest why this isn't working just for this user, they say that the Googlemaps app works fine.
Note I have Google API and maps in my manifest too.
E/dalvikvm( 1978): Could not find class 'com.google.android.maps.GeoPoint', referenced from method id.wilsononline.gcadroid.gcadroid$loadNearby.<init>
W/dalvikvm( 1978): VFY: unable to resolve new-instance 522 (Lcom/google/android/maps/GeoPoint;) in Lid/wilsononline/gcadroid/gcadroid$loadNearby;
D/dalvikvm( 1978): VFY: replacing opcode 0x22 at 0x006b
D/dalvikvm( 1978): DexOpt: unable to opt direct call 0x0de1 at 0x7d in Lid/wilsononline/gcadroid/gcadroid$loadNearby;.<init>
W/dalvikvm( 1978): VFY: unable to find class referenced in signature (Lcom/google/android/maps/GeoPoint;)
W/dalvikvm( 1978): VFY: unable to find class referenced in signature (Lcom/google/android/maps/GeoPoint;)
W/dalvikvm( 1978): VFY: unable to find class referenced in signature (Lcom/google/android/maps/GeoPoint;)
I/dalvikvm( 1978): Could not find method com.google.android.maps.GeoPoint.getLatitudeE6, referenced from method id.wilsononline.gcadroid.gaLoadNearbyCaches.startLoadCaches
W/dalvikvm( 1978): VFY: unable to resolve virtual method 3554: Lcom/google/android/maps/GeoPoint;.getLatitudeE6 ()I
D/dalvikvm( 1978): VFY: replacing opcode 0x6e at 0x0004

Categories

Resources