MainActivity closed at runtime witout reason when setting debuggable to False in project gradle file. but when the App is debuggable it's work fine.
I have checked logcat but nothing found to help me.
anyone have an idea ?
the logcat output is:
02-07 11:08:48.157 13586-13586/? E/Zygote: v2
02-07 11:08:48.157 13586-13586/? I/libpersona: KNOX_SDCARD checking this for 10177
02-07 11:08:48.157 13586-13586/? I/libpersona: KNOX_SDCARD not a persona
02-07 11:08:48.167 13586-13586/? W/SELinux: Function: selinux_compare_spd_ram, index[1], priority [2], priority version is VE=SEPF_SECMOBILE_6.0.1_0031
02-07 11:08:48.167 13586-13586/? E/Zygote: accessInfo : 0
02-07 11:08:48.167 13586-13586/? W/SELinux: SELinux: seapp_context_lookup: seinfo=default, level=s0:c512,c768, pkgname=ir.androidsoftware.TelegramNew
02-07 11:08:48.217 13586-13586/? D/TimaKeyStoreProvider: TimaSignature is unavailable
02-07 11:08:48.217 13586-13586/? D/ActivityThread: Added TimaKeyStore provider
02-07 11:08:48.287 13586-13586/? I/InjectionManager: Inside getClassLibPath + mLibMap{0=, 1=}
02-07 11:08:48.287 13586-13586/? W/ResourcesManager: getTopLevelResources: /data/app/ir.androidsoftware.TelegramNew-1/base.apk / 1.0 running in ir.androidsoftware.TelegramNew rsrc of package ir.androidsoftware.TelegramNew
02-07 11:08:48.287 13586-13586/? D/ResourcesManager: For user 0 new overlays fetched Null
02-07 11:08:48.297 13586-13586/? I/InjectionManager: Inside getClassLibPath caller
02-07 11:08:48.357 13586-13586/? I/GMPM: App measurement is starting up, version: 8487
02-07 11:08:48.357 13586-13586/? I/GMPM: To enable debug logging run: adb shell setprop log.tag.GMPM VERBOSE
02-07 11:08:48.367 13586-13586/? W/ResourcesManager: getTopLevelResources: /data/app/ir.androidsoftware.TelegramNew-1/base.apk / 1.0 running in ir.androidsoftware.TelegramNew rsrc of package ir.androidsoftware.TelegramNew
02-07 11:08:48.387 13586-13586/? I/GAv4: Google Analytics 8.4.87 is starting up. To enable debug logging on a device run:
02-07 11:08:48.387 13586-13586/? I/GAv4: adb shell setprop log.tag.GAv4 DEBUG
02-07 11:08:48.387 13586-13586/? I/GAv4: adb logcat -s GAv4
02-07 11:08:48.447 13586-13586/? D/InjectionManager: InjectionManager
02-07 11:08:48.447 13586-13586/? D/InjectionManager: fillFeatureStoreMap ir.androidsoftware.TelegramNew
02-07 11:08:48.447 13586-13586/? I/InjectionManager: Constructor ir.androidsoftware.TelegramNew, Feature store :{}
02-07 11:08:48.447 13586-13586/? I/InjectionManager: featureStore :{}
02-07 11:08:48.447 13586-13586/? D/RelationGraph: garbageCollect()
02-07 11:08:48.447 13586-13586/? W/ResourcesManager: getTopLevelResources: /data/app/ir.androidsoftware.TelegramNew-1/base.apk / 1.0 running in ir.androidsoftware.TelegramNew rsrc of package ir.androidsoftware.TelegramNew
02-07 11:08:48.447 13586-13586/? D/ContextRelationManager: ContextRelationManager() : FEATURE_ENABLED=true
02-07 11:08:48.757 13586-13586/? D/AbsListView: Get MotionRecognitionManager
02-07 11:08:48.757 13586-13586/? E/MotionRecognitionManager: mSContextService = android.hardware.scontext.ISContextService$Stub$Proxy#affb32a
02-07 11:08:48.757 13586-13586/? E/MotionRecognitionManager: motionService = com.samsung.android.motion.IMotionRecognitionService$Stub$Proxy#3f2451b
02-07 11:08:48.757 13586-13586/? E/MotionRecognitionManager: motionService = com.samsung.android.motion.IMotionRecognitionService$Stub$Proxy#3f2451b
02-07 11:08:48.957 13586-13586/? D/Minikin: FontFamily bestFont == NULL, so return vacant FakedFont
02-07 11:08:48.957 13586-13586/? D/Minikin: FontFamily bestFont == NULL, so return vacant FakedFont
02-07 11:08:48.957 13586-13586/? D/Minikin: FontFamily bestFont == NULL, so return vacant FakedFont
02-07 11:08:49.007 13586-13586/? I/Timeline: Timeline: Activity_launch_request id:ir.androidsoftware.TelegramNew time:245262389
02-07 11:08:49.027 13586-13586/? D/Activity: performCreate Call Injection manager
02-07 11:08:49.047 13586-13586/? D/RelationGraph: garbageCollect()
02-07 11:08:49.047 13586-13586/? D/TelegramNew: mainline 1
02-07 11:08:49.047 13586-13586/? W/ResourcesManager: getTopLevelResources: /data/app/ir.androidsoftware.TelegramNew-1/base.apk / 1.0 running in ir.androidsoftware.TelegramNew rsrc of package ir.androidsoftware.TelegramNew
02-07 11:08:49.097 13586-13586/? D/AbsListView: Get MotionRecognitionManager
02-07 11:08:49.097 13586-13586/? E/MotionRecognitionManager: mSContextService = android.hardware.scontext.ISContextService$Stub$Proxy#3f1b83c
02-07 11:08:49.097 13586-13586/? E/MotionRecognitionManager: motionService = com.samsung.android.motion.IMotionRecognitionService$Stub$Proxy#e75e9c5
02-07 11:08:49.097 13586-13586/? E/MotionRecognitionManager: motionService = com.samsung.android.motion.IMotionRecognitionService$Stub$Proxy#e75e9c5
02-07 11:08:49.097 13586-13586/? I/InjectionManager: dispatchOnViewCreated > Target : ir.androidsoftware.TelegramNew.NavigationDrawerFragment isFragment :true
02-07 11:08:49.117 13586-13586/? D/Activity: performCreate Call Injection manager
02-07 11:08:49.147 13586-13586/? I/InjectionManager: dispatchOnViewCreated > Target : ir.androidsoftware.TelegramNew.FragmentMain isFragment :true
02-07 11:08:49.157 13586-13586/? I/InjectionManager: dispatchOnViewCreated > Target : ir.androidsoftware.TelegramNew.FragmentSeeChannels isFragment :true
02-07 11:08:49.397 13586-13586/? D/TelegramNewLeft: CheckLefts killed()
02-07 11:08:49.397 13586-13586/? D/TelegramNewLeft: CheckLefts Stop()
02-07 11:08:50.577 13586-13624/? I/qtaguid: Tagging socket 60 with tag b59f8cea00000000{3047132394,0} uid -1, pid: 13586, getuid(): 10177
02-07 11:08:58.507 13586-13642/? D/Minikin: FontCollection getFamilyForChar is NULL, so assign fakedFont.font = NULL
02-07 11:08:58.507 13586-13642/? E/Minikin: no font for run starting u+dbba length 2
02-07 11:08:58.507 13586-13642/? D/Minikin: FontCollection getFamilyForChar is NULL, so assign fakedFont.font = NULL
02-07 11:08:58.507 13586-13642/? E/Minikin: no font for run starting u+dbba length 2
I found the problem.I have added this code in BaseActivity that mainActivity inherit from it:
if(!BuildConfig.DEBUG) {
Secure.CheckPckNm(this);
Secure.CheckAppSign(this);
}
The CheckAppSign finish mainActivity if signature is invalid.
I had forgotten that code :-) .
hi i see in your answer you using this
if(!BuildConfig.DEBUG) {
Secure.CheckPckNm(this);
Secure.CheckAppSign(this);
}
but this is not usefull because hacker/cracker can change BuildConfig class and if he change Debug value to true
this code not executed
you should check debug signature too
Related
Unable to fetch a value from the Firestore database. Trying to retrieve the value of the mobile number as and when the value of flat and block matches the entry in the database. Below is the code I am using. I have also attached the issues that are registered in LogCat file. Please check and help.
public class Test extends AppCompatActivity {
Button btn;
private FirebaseFirestore firestore;
#Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_test);
firestore = FirebaseFirestore.getInstance();
btn = (Button) findViewById(R.id.button3);
btn.setOnClickListener(new View.OnClickListener() {
#Override
public void onClick(View v) {
getmobile();
//makecall();
}
});
}
private void makecall(){
Intent intent = new Intent(Intent.ACTION_CALL_BUTTON);
intent.setData(Uri.parse("tel:9890910640"));
startActivity(intent);
}
private void getmobile() {
firestore.collection("users").get().addOnSuccessListener(new OnSuccessListener<QuerySnapshot>() {
#Override
public void onSuccess(QuerySnapshot documentSnapshots) {
String a = "101";
String b = "F1A";
for(DocumentSnapshot document: documentSnapshots){
if(document.getString("flat")==a&&document.getString("block")==b){
String mobilefromdatabase = document.get("mobile").toString();
Toast.makeText(Test.this, "mobile" + mobilefromdatabase, Toast.LENGTH_LONG).show();
break;
}
}
}
});
}
}
Logcat Details
05-05 03:59:26.721 8805-8805/? E/libprocessgroup: failed to make and chown /acct/uid_10058: Read-only file system
05-05 03:59:26.721 8805-8805/? W/Zygote: createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT?
05-05 03:59:26.722 8805-8805/? I/art: Not late-enabling -Xcheck:jni (already on)
05-05 03:59:26.770 8805-8805/com.example.myrwaapp I/MultiDex: VM with version 2.1.0 has multidex support
05-05 03:59:26.770 8805-8805/com.example.myrwaapp I/MultiDex: Installing application
05-05 03:59:26.770 8805-8805/com.example.myrwaapp I/MultiDex: VM has multidex support, MultiDex support library is disabled.
05-05 03:59:26.842 8805-8805/com.example.myrwaapp V/FA: Registered activity lifecycle callback
05-05 03:59:26.857 8805-8831/com.example.myrwaapp W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
05-05 03:59:26.861 8805-8805/com.example.myrwaapp I/FirebaseInitProvider: FirebaseApp initialization successful
05-05 03:59:26.907 8805-8834/com.example.myrwaapp W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
05-05 03:59:26.925 8805-8834/com.example.myrwaapp I/FirebaseAuth: [FirebaseAuth:] Preparing to create service connection to gms implementation
05-05 03:59:26.986 8805-8805/com.example.myrwaapp W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter androidx.vectordrawable.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
05-05 03:59:27.010 8805-8805/com.example.myrwaapp V/FA: onActivityCreated
05-05 03:59:27.047 8805-8805/com.example.myrwaapp I/art: Rejecting re-init on previously-failed class java.lang.Class<androidx.core.view.ViewCompat$2>
05-05 03:59:27.047 8805-8805/com.example.myrwaapp I/art: Rejecting re-init on previously-failed class java.lang.Class<androidx.core.view.ViewCompat$2>
05-05 03:59:27.048 8805-8830/com.example.myrwaapp V/FA: App measurement collection enabled
05-05 03:59:27.049 8805-8830/com.example.myrwaapp V/FA: App measurement enabled for app package, google app id: com.example.myrwaapp, 1:649640616763:android:9025242f82dd4767798d1e
05-05 03:59:27.052 8805-8830/com.example.myrwaapp I/FA: App measurement initialized, version: 21028
05-05 03:59:27.052 8805-8830/com.example.myrwaapp I/FA: To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
05-05 03:59:27.052 8805-8830/com.example.myrwaapp I/FA: To enable faster debug mode event logging run:
adb shell setprop debug.firebase.analytics.app com.example.myrwaapp
05-05 03:59:27.052 8805-8830/com.example.myrwaapp D/FA: Debug-level message logging enabled
05-05 03:59:27.077 8805-8830/com.example.myrwaapp V/FA: Connecting to remote service
05-05 03:59:27.089 8805-8830/com.example.myrwaapp V/FA: Connection attempt already in progress
05-05 03:59:27.143 8805-8830/com.example.myrwaapp V/FA: Activity resumed, time: 8622127
05-05 03:59:27.145 8805-8830/com.example.myrwaapp I/FA: Tag Manager is not found and thus will not be used
05-05 03:59:27.151 8805-8838/com.example.myrwaapp D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
05-05 03:59:27.154 8805-8805/com.example.myrwaapp D/Atlas: Validating map...
05-05 03:59:27.159 8805-8830/com.example.myrwaapp V/FA: Connection attempt already in progress
05-05 03:59:27.159 8805-8830/com.example.myrwaapp V/FA: Connection attempt already in progress
05-05 03:59:27.188 8805-8838/com.example.myrwaapp I/OpenGLRenderer: Initialized EGL, version 1.4
05-05 03:59:27.188 8805-8838/com.example.myrwaapp W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
05-05 03:59:27.215 8805-8838/com.example.myrwaapp D/EGL_emulation: eglCreateContext: 0xa2003100: maj 2 min 0 rcv 2
05-05 03:59:27.240 8805-8838/com.example.myrwaapp D/EGL_emulation: eglMakeCurrent: 0xa2003100: ver 2 0 (tinfo 0xb4233e90)
05-05 03:59:27.243 8805-8838/com.example.myrwaapp D/OpenGLRenderer: Enabling debug mode 0
05-05 03:59:27.294 8805-8838/com.example.myrwaapp D/EGL_emulation: eglMakeCurrent: 0xa2003100: ver 2 0 (tinfo 0xb4233e90)
05-05 03:59:27.738 8805-8830/com.example.myrwaapp D/FA: Connected to remote service
05-05 03:59:27.738 8805-8830/com.example.myrwaapp V/FA: Processing queued up service tasks: 4
05-05 03:59:32.795 8805-8830/com.example.myrwaapp V/FA: Inactivity, disconnecting from the service
05-05 03:59:38.884 8805-8830/com.example.myrwaapp V/FA: Recording user engagement, ms: 11740
05-05 03:59:38.886 8805-8830/com.example.myrwaapp V/FA: Connecting to remote service
05-05 03:59:38.892 8805-8830/com.example.myrwaapp V/FA: Activity paused, time: 8633867
05-05 03:59:38.894 8805-8805/com.example.myrwaapp V/FA: onActivityCreated
05-05 03:59:38.913 8805-8830/com.example.myrwaapp V/FA: Connection attempt already in progress
05-05 03:59:38.913 8805-8830/com.example.myrwaapp V/FA: Activity resumed, time: 8633895
05-05 03:59:38.926 8805-8830/com.example.myrwaapp V/FA: Connection attempt already in progress
05-05 03:59:38.926 8805-8830/com.example.myrwaapp V/FA: Connection attempt already in progress
05-05 03:59:38.993 8805-8838/com.example.myrwaapp D/EGL_emulation: eglMakeCurrent: 0xa2003100: ver 2 0 (tinfo 0xb4233e90)
05-05 03:59:39.034 8805-8838/com.example.myrwaapp D/EGL_emulation: eglMakeCurrent: 0xa2003100: ver 2 0 (tinfo 0xb4233e90)
05-05 03:59:39.051 8805-8838/com.example.myrwaapp D/EGL_emulation: eglMakeCurrent: 0xa2003100: ver 2 0 (tinfo 0xb4233e90)
05-05 03:59:39.177 8805-8838/com.example.myrwaapp D/EGL_emulation: eglMakeCurrent: 0xa2003100: ver 2 0 (tinfo 0xb4233e90)
05-05 03:59:39.222 8805-8830/com.example.myrwaapp D/FA: Connected to remote service
05-05 03:59:39.222 8805-8830/com.example.myrwaapp V/FA: Processing queued up service tasks: 4
05-05 03:59:39.224 8805-8838/com.example.myrwaapp D/EGL_emulation: eglMakeCurrent: 0xa2003100: ver 2 0 (tinfo 0xb4233e90)
05-05 03:59:39.335 8805-8838/com.example.myrwaapp D/EGL_emulation: eglMakeCurrent: 0xa2003100: ver 2 0 (tinfo 0xb4233e90)
05-05 03:59:44.247 8805-8830/com.example.myrwaapp V/FA: Inactivity, disconnecting from the service
05-05 03:59:48.704 8805-8838/com.example.myrwaapp D/EGL_emulation: eglMakeCurrent: 0xa2003100: ver 2 0 (tinfo 0xb4233e90)
05-05 03:59:48.871 8805-8849/com.example.myrwaapp W/DynamiteModule: Local module descriptor class for providerinstaller not found.
05-05 03:59:48.877 8805-8849/com.example.myrwaapp I/DynamiteModule: Considering local module providerinstaller:0 and remote module providerinstaller:0
05-05 03:59:48.877 8805-8849/com.example.myrwaapp W/ProviderInstaller: Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0.
05-05 03:59:48.881 8805-8849/com.example.myrwaapp W/ResourcesManager: Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources.
05-05 03:59:48.881 8805-8849/com.example.myrwaapp W/ResourcesManager: Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.
05-05 03:59:48.942 8805-8849/com.example.myrwaapp W/linker: libconscrypt_gmscore_jni.so: unused DT entry: type 0x6ffffffe arg 0x13dc
05-05 03:59:48.942 8805-8849/com.example.myrwaapp W/linker: libconscrypt_gmscore_jni.so: unused DT entry: type 0x6fffffff arg 0x2
05-05 03:59:48.948 8805-8849/com.example.myrwaapp V/NativeCrypto: Registering com/google/android/gms/org/conscrypt/NativeCrypto's 284 native methods...
05-05 03:59:48.963 8805-8820/com.example.myrwaapp I/art: Background sticky concurrent mark sweep GC freed 976(49KB) AllocSpace objects, 0(0B) LOS objects, 0% free, 8MB/8MB, paused 5.861ms total 31.265ms
05-05 03:59:48.992 8805-8849/com.example.myrwaapp I/art: Rejecting re-init on previously-failed class java.lang.Class<com.google.android.gms.org.conscrypt.Java7ExtendedSSLSession>
05-05 03:59:48.992 8805-8849/com.example.myrwaapp I/art: Rejecting re-init on previously-failed class java.lang.Class<com.google.android.gms.org.conscrypt.Java7ExtendedSSLSession>
05-05 03:59:48.992 8805-8849/com.example.myrwaapp I/art: Rejecting re-init on previously-failed class java.lang.Class<com.google.android.gms.org.conscrypt.Java8ExtendedSSLSession>
05-05 03:59:48.992 8805-8849/com.example.myrwaapp I/art: Rejecting re-init on previously-failed class java.lang.Class<com.google.android.gms.org.conscrypt.Java8ExtendedSSLSession>
05-05 03:59:49.002 8805-8849/com.example.myrwaapp I/ProviderInstaller: Installed default security provider GmsCore_OpenSSL
First of all, String comparison in Java, should not be performed using == operator, as it will always compare the address of the objects from the memory and not the actual values. String comparison should be done using equals() method.
Moreover, if you need an AND operation, you should not get all documents that exist within the users collection and make the comparison on the client. For that, you should use a query that looks exactly like this:
String a = "101";
String b = "F1A";
FirebaseFirestore rootRef = FirebaseFirestore.getInstance();
CollectionReference usersRef = rootRef.collection("users");
Query query = usersRef.whereEqualTo("flat", a).whereEqualTo("block", b);
query.get().addOnSuccessListener(/* ... */);
In this way, you are going to get only the documents where the flat property holds the value of 101 AND the value of block holds F1A. As I think that only one apartment has that constraint, you'll be billed with only one read operation.
This question already has answers here:
How do I programmatically "restart" an Android app?
(31 answers)
Closed 3 years ago.
My app doesn't function as intended after fresh installation on the device. The user has to manually close the app and start it again for proper functionality. A quick fix is needed, something as simple as the app restarting on its own after first launch (this only has to happen 1 time).
05/22 19:44:57: Launching app
$ adb install-multiple -r -t C:\Users\Gregory\AndroidStudioProjects\GAaudioTransform\app\build\intermediates\split-apk\debug\slices\slice_6.apk C:\Users\Gregory\AndroidStudioProjects\GAaudioTransform\app\build\intermediates\split-apk\debug\slices\slice_4.apk C:\Users\Gregory\AndroidStudioProjects\GAaudioTransform\app\build\intermediates\split-apk\debug\dep\dependencies.apk C:\Users\Gregory\AndroidStudioProjects\GAaudioTransform\app\build\intermediates\resources\instant-run\debug\resources-debug.apk C:\Users\Gregory\AndroidStudioProjects\GAaudioTransform\app\build\intermediates\split-apk\debug\slices\slice_9.apk C:\Users\Gregory\AndroidStudioProjects\GAaudioTransform\app\build\intermediates\split-apk\debug\slices\slice_8.apk C:\Users\Gregory\AndroidStudioProjects\GAaudioTransform\app\build\intermediates\split-apk\debug\slices\slice_2.apk C:\Users\Gregory\AndroidStudioProjects\GAaudioTransform\app\build\intermediates\split-apk\debug\slices\slice_3.apk C:\Users\Gregory\AndroidStudioProjects\GAaudioTransform\app\build\intermediates\split-apk\debug\slices\slice_5.apk C:\Users\Gregory\AndroidStudioProjects\GAaudioTransform\app\build\intermediates\split-apk\debug\slices\slice_1.apk C:\Users\Gregory\AndroidStudioProjects\GAaudioTransform\app\build\intermediates\split-apk\debug\slices\slice_7.apk C:\Users\Gregory\AndroidStudioProjects\GAaudioTransform\app\build\intermediates\split-apk\debug\slices\slice_0.apk C:\Users\Gregory\AndroidStudioProjects\GAaudioTransform\app\build\intermediates\instant-run-apk\debug\app-debug.apk
Split APKs installed in 5 s 337 ms
$ adb shell am start -n "tk.gandriks.gaaudiotransform/tk.gandriks.gaaudiotransform.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Client not ready yet..Waiting for process to come online
Connected to process 11440 on device samsung-sm_g930f-ce05160561e0761105
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
E/Zygote: isWhitelistProcess - Process is Whitelisted
E/libpersona: scanKnoxPersonas
Couldn't open the File - /data/system/users/0/personalist.xml - No such file or directory
W/SELinux: SELinux selinux_android_compute_policy_index : Policy Index[2], Con:u:r:zygote:s0 RAM:SEPF_SM-G930F_8.0.0_0018, [-1 -1 -1 -1 0 1]
I/SELinux: SELinux: seapp_context_lookup: seinfo=untrusted, level=s0:c512,c768, pkgname=tk.gandriks.gaaudiotransform
I/zygote64: Late-enabling -Xcheck:jni
D/TimaKeyStoreProvider: TimaKeyStore is not enabled: cannot add TimaSignature Service and generateKeyPair Service
D/ActivityThread: Added TimaKeyStore provider
I/zygote64: no shared libraies, dex_files: 1
I/InstantRun: starting instant run server: is main process
D/OpenGLRenderer: HWUI GL Pipeline
D/ViewRootImpl#d597feb[MainActivity]: setView = DecorView#ed74148[MainActivity] TM=true MM=false
D/ViewRootImpl#d597feb[MainActivity]: dispatchAttachedToWindow
V/Surface: sf_framedrop debug : 0x4f4c, game : false, logging : 0
D/ViewRootImpl#d597feb[MainActivity]: Relayout returned: old=[0,0][0,0] new=[0,0][1440,2560] result=0x7 surface={valid=true 484328804352} changed=true
I/OpenGLRenderer: Initialized EGL, version 1.4
D/OpenGLRenderer: Swap behavior 2
D/libGLESv1: STS_GLApi : DTS, ODTC are not allowed for Package : tk.gandriks.gaaudiotransform
D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000, [1440x2560]-format:1
D/OpenGLRenderer: eglCreateWindowSurface = 0x70c9e2df00
D/ViewRootImpl#d597feb[MainActivity]: MSG_RESIZED_REPORT: frame=Rect(0, 0 - 1440, 2560) ci=Rect(0, 96 - 0, 0) vi=Rect(0, 96 - 0, 0) or=1
D/ViewRootImpl#d597feb[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1
V/InputMethodManager: Starting input: tba=android.view.inputmethod.EditorInfo#56c3619 nm : tk.gandriks.gaaudiotransform ic=null
I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
V/InputMethodManager: Starting input: tba=android.view.inputmethod.EditorInfo#7e4d6de nm : tk.gandriks.gaaudiotransform ic=null
D/ViewRootImpl#c82cf8d[Toast]: setView = android.widget.LinearLayout{2fd8542 V.E...... ......I. 0,0-0,0} TM=true MM=false
V/Toast: Text: Qerm in android.widget.Toast$TN#7980953
D/ViewRootImpl#c82cf8d[Toast]: dispatchAttachedToWindow
V/Surface: sf_framedrop debug : 0x4f4c, game : false, logging : 0
D/ViewRootImpl#c82cf8d[Toast]: Relayout returned: old=[0,0][0,0] new=[373,2128][1066,2304] result=0x7 surface={valid=true 484137521152} changed=true
D/ViewRootImpl#c82cf8d[Toast]: MSG_RESIZED_REPORT: frame=Rect(373, 2128 - 1066, 2304) ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1
D/ViewRootImpl#c82cf8d[Toast]: dispatchDetachedFromWindow
D/InputEventReceiver: channel 'd449b05 Toast (client)' ~ Disposing input event receiver.
channel 'd449b05 Toast (client)' ~NativeInputEventReceiver.
V/InputMethodManager: Starting input: tba=android.view.inputmethod.EditorInfo#7c57290 nm : tk.gandriks.gaaudiotransform ic=null
I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
D/OpenGLRenderer: eglDestroySurface = 0x70c9e2df00
D/ViewRootImpl#d597feb[MainActivity]: Relayout returned: old=[0,0][1440,2560] new=[0,0][1440,2560] result=0x5 surface={valid=false 0} changed=true
D/ViewRootImpl#d597feb[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0
The error in this log is the line:
E/Zygote: isWhitelistProcess - Process is Whitelisted
E/libpersona: scanKnoxPersonas
Couldn't open the File - /data/system/users/0/personalist.xml - No such file or directory
Even though there might be some answers to this question, from my(and probably most of the users) point of view this would be a terrible experience. Fix the original problem, any workaround that you do that results in app restarting itself will probably end in user uninstalling your app. Keep your app stable and users happy!
I have a phonegap hybrid app with Facebook connect plugin. First time when I login then the FB login works but after I logout and then again try to login via Facebook then the app crashes with the following Logcat results :
Plugin URL :
https://github.com/jeduan/cordova-plugin-facebook4
06-18 21:31:50.071 3129-3219/? E/Surface: getSlotFromBufferLocked: unknown buffer: 0x9b2370a0
06-18 21:31:50.096 3129-3129/? I/Choreographer: Skipped 39 frames! The application may be doing too much work on its main thread.
06-18 21:31:50.104 3129-3234/? D/EGL_emulation: eglMakeCurrent: 0x9e677300: ver 2 0 (tinfo 0xaa366e80)
06-18 21:31:50.356 3129-3129/? D/CordovaActivity: Incoming Result. Request code = 64206
06-18 21:31:50.356 3129-3129/? D/CordovaInterfaceImpl: Sending activity result to plugin
06-18 21:31:50.356 3129-3129/? D/ConnectPlugin: activity result in plugin: requestCode(64206), resultCode(-1)
06-18 21:31:50.372 3129-3129/? D/com.facebook.FacebookSdk: getGraphApiVersion: v3.0
06-18 21:31:50.372 3129-3129/? D/com.facebook.FacebookSdk: getGraphApiVersion: v3.0
06-18 21:31:50.378 3129-3129/? D/CordovaActivity: Resumed the activity.
06-18 21:31:50.379 3129-3129/? W/com.facebook.appevents.AppEventsLogger: activateApp events are being logged automatically. There's no need to call activateApp explicitly, this is safe to remove.
06-18 21:31:50.551 3129-3219/? E/Surface: getSlotFromBufferLocked: unknown buffer: 0x98eed520
06-18 21:31:51.043 3129-3129/? D/AndroidRuntime: Shutting down VM
--------- beginning of crash
06-18 21:31:51.044 3129-3129/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.sqlchild.app1, PID: 3129
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.indexOf(int)' on a null object reference
at libcore.net.UriCodec.decode(UriCodec.java:153)
at java.net.URLDecoder.decode(URLDecoder.java:60)
at org.apache.cordova.facebook.ConnectPlugin.makeGraphCall(ConnectPlugin.java:751)
at org.apache.cordova.facebook.ConnectPlugin.access$200(ConnectPlugin.java:55)
at org.apache.cordova.facebook.ConnectPlugin$2$1.onCompleted(ConnectPlugin.java:111)
at com.facebook.GraphRequest$1.onCompleted(GraphRequest.java:301)
at com.facebook.GraphRequest$5.run(GraphRequest.java:1380)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
06-18 21:31:51.052 1667-2063/? W/ActivityManager: Force finishing activity com.sqlchild.app1/.MainActivity
06-18 21:31:51.067 1259-1321/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 589824
[ 06-18 21:31:51.097 1667: 2063 D/ ]
HostConnection::get() New Host Connection established 0x9aa0cc00, tid 2063
[ 06-18 21:31:51.099 1667: 2063 W/ ]
Unrecognized GLES max version string in extensions: ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1
06-18 21:31:51.113 1259-1259/? E/EGL_emulation: tid 1259: eglCreateSyncKHR(1881): error 0x3004 (EGL_BAD_ATTRIBUTE)
06-18 21:31:51.199 1667-1667/? W/art: Long monitor contention event with owner method=void com.android.server.am.ActivityManagerService.crashApplication(com.android.server.am.ProcessRecord, android.app.ApplicationErrorReport$CrashInfo) from ActivityManagerService.java:12502 waiters=0 for 133ms
06-18 21:31:51.289 1667-1677/? I/art: Background partial concurrent mark sweep GC freed 36018(2MB) AllocSpace objects, 1(20KB) LOS objects, 33% free, 7MB/11MB, paused 3.358ms total 105.317ms
06-18 21:31:51.381 1667-1729/? I/OpenGLRenderer: Initialized EGL, version 1.4
06-18 21:31:51.390 1667-1729/? D/EGL_emulation: eglCreateContext: 0xa07fc120: maj 2 min 0 rcv 2
06-18 21:31:51.414 1667-1729/? D/EGL_emulation: eglMakeCurrent: 0xa07fc120: ver 2 0 (tinfo 0xa0ea42f0)
06-18 21:31:51.484 1667-1729/? D/EGL_emulation: eglMakeCurrent: 0xa07fc120: ver 2 0 (tinfo 0xa0ea42f0)
06-18 21:31:51.691 1667-3205/? I/AccountManagerService: getTypesVisibleToCaller: isPermitted? true
06-18 21:31:51.698 1667-1683/? W/ActivityManager: Activity pause timeout for ActivityRecord{21fdafb u0 com.sqlchild.app1/.MainActivity t8 f}
06-18 21:31:51.877 1667-3206/? W/art: Long monitor contention event with owner method=void com.android.server.am.ActivityStack$ActivityStackHandler.handleMessage(android.os.Message) from ActivityStack.java:283 waiters=0 for 175ms
06-18 21:31:51.896 1667-1683/? I/ActivityManager: Killing 2545:com.android.keychain/1000 (adj 15): empty #17
06-18 21:31:52.070 2029-2239/? D/EGL_emulation: eglMakeCurrent: 0xae594600: ver 2 0 (tinfo 0xae5924b0)
06-18 21:31:59.062 3129-3129/? I/Process: Sending signal. PID: 3129 SIG: 9
06-18 21:31:59.075 1667-1729/? D/EGL_emulation: eglMakeCurrent: 0xa07fc120: ver 2 0 (tinfo 0xa0ea42f0)
06-18 21:31:59.079 1667-1729/? E/Surface: getSlotFromBufferLocked: unknown buffer: 0x9e8d1360
06-18 21:31:59.128 1667-3206/? E/JavaBinder: !!! FAILED BINDER TRANSACTION !!! (parcel size = 104)
06-18 21:31:59.130 1667-1721/? W/InputDispatcher: channel '7f56d84 com.sqlchild.app1/com.sqlchild.app1.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
06-18 21:31:59.130 1667-1721/? E/InputDispatcher: channel '7f56d84 com.sqlchild.app1/com.sqlchild.app1.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
06-18 21:31:59.129 1667-3206/? W/InputMethodManagerService: Got RemoteException sending setActive(false) notification to pid 3129 uid 10061
06-18 21:31:59.132 1667-1721/? W/InputDispatcher: channel 'e76402c com.sqlchild.app1/com.facebook.FacebookActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
06-18 21:31:59.133 1667-1721/? E/InputDispatcher: channel 'e76402c com.sqlchild.app1/com.facebook.FacebookActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
06-18 21:31:59.153 1667-3206/? E/JavaBinder: !!! FAILED BINDER TRANSACTION !!! (parcel size = 104)
06-18 21:31:59.168 1667-1680/? I/WindowState: WIN DEATH: Window{e76402c u0 com.sqlchild.app1/com.facebook.FacebookActivity}
06-18 21:31:59.169 1667-1680/? W/InputDispatcher: Attempted to unregister already unregistered input channel 'e76402c com.sqlchild.app1/com.facebook.FacebookActivity (server)'
06-18 21:31:59.174 1667-2280/? D/GraphicsStats: Buffer count: 3
06-18 21:31:59.207 1667-1681/? I/ActivityManager: Process com.sqlchild.app1 (pid 3129) has died
06-18 21:31:59.257 1667-3110/? I/WindowState: WIN DEATH: Window{7f56d84 u0 com.sqlchild.app1/com.sqlchild.app1.MainActivity}
06-18 21:31:59.257 1667-3110/? W/InputDispatcher: Attempted to unregister already unregistered input channel '7f56d84 com.sqlchild.app1/com.sqlchild.app1.MainActivity (server)'
The question is myapp sometimes run well and sometimes doesn't.I used ionic+cordova+angular to do it. It does not work at 5.0.1 version.
This is the logcat when i test with android studio
07-28 15:55:19.894 9987-9987/? E/Zygote: MountEmulatedStorage()
07-28 15:55:19.894 9987-9987/? E/Zygote: v2
07-28 15:55:19.904 9987-9987/? E/Zygote: accessInfo : 0
07-28 15:55:19.904 9987-9987/? E/SELinux: [DEBUG] get_category: variable seinfo: default sensitivity: NULL, cateogry: NULL
07-28 15:55:20.084 9987-9987/io.ionic.starter E/SysUtils: ApplicationContext is null in ApplicationStatus
07-28 15:55:20.164 9987-9987/io.ionic.starter E/chromium: [ERROR:browser_gpu_channel_host_factory.cc(258)] Failed to init browser shader disk cache.
07-28 15:55:20.194 9987-9987/io.ionic.starter E/libEGL: validate_display:255 error 3008 (EGL_BAD_DISPLAY)
07-28 15:55:20.194 9987-10081/io.ionic.starter E/ActivityThread: Failed to find provider info for com.google.settings
ionic cordova plugin add cordova-plugin-crosswalk-webview --save Add this will be work.
This project has a number (433) saved in a database, which is accessed through a servlet and then should be sent to the Android app. Before I added AsyncTask the app would sometimes retrieve the data (should be 433) from the servlet and sometimes not. Upon clicking the homePage button, the mainActivity screen should appear and display the data. I added AsyncTask hoping it would work consistently, but now all I get is the text "Light Data= " but no data (should say "Light Data= 433). The servlet connects to the database fine, so I know the issue lies within the app. I'd really appreciate code that relates to my project, thankyou.
HomePage:
package com.example.clearlight;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class HomePage extends Activity {
private Button ScheduleBtn;
#Override
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
super.onCreate(savedInstanceState);
setContentView(R.layout.homepage);
ScheduleBtn = (Button) findViewById(R.id.home_btn);
ScheduleBtn.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
// TODO Auto-generated method stub
Intent myIntent = new Intent(HomePage.this, MainActivity.class);
HomePage.this.startActivity(myIntent);
}
});
}
}
MainActivity:
package com.example.clearlight;
import android.os.AsyncTask;
import android.os.Bundle;
import android.app.Activity;
import android.widget.TextView;
import android.widget.Toast;
import java.net.URL;
import org.apache.http.client.ResponseHandler;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.BasicResponseHandler;
import org.apache.http.impl.client.DefaultHttpClient;
import android.os.StrictMode;
import android.util.Log;
public class MainActivity extends Activity {
TextView txt;
#Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();
StrictMode.setThreadPolicy(policy);
setContentView(R.layout.relative);
class LongOperation extends AsyncTask<String, Void, String> {
#Override
protected String doInBackground(String... params) {
// TODO Auto-generated method stub
String result=null;
URL url = null;
DefaultHttpClient httpclient = null;
try {
String registrationUrl = "http://10.0.2.2/SensorInfo/GetLightData?sensor=light";
url = new URL(registrationUrl);
HttpGet getRequest = new HttpGet(registrationUrl);
ResponseHandler<String> handler = new BasicResponseHandler();
httpclient = new DefaultHttpClient();
// request data from server
result = httpclient.execute(getRequest, handler);
Log.d("MyApp", "Data from server is "+ result);
}
catch (Exception ex) {Log.e("error",ex.toString());
ex.printStackTrace();
}
return result;
}
#Override
protected void onPostExecute(String result)
{
TextView text1 = (TextView)MainActivity.this.findViewById(R.id.text);
//Sets the new text to TextView (runtime click event)//*******
text1.setText("Light Data= " + result);
Toast.makeText(MainActivity.this, "Light Data:" + result, Toast.LENGTH_SHORT).show(); //MESSAGE BOX
}
}
}
}
Manifest:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.clearlight"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="10"
android:targetSdkVersion="16" />
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/AppTheme" >
<activity
android:name="com.example.clearlight.MainActivity"
android:label="#string/app_name" >
</activity>
<activity
android:name="com.example.clearlight.HomePage"
android:label="#string/homepage"
android:parentActivityName="com.example.clearlight.MainActivity" >
<!-- Moved the intent filter to HomePage -->
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.example.clearlight.MainActivity" />
</activity>
</application>
</manifest>
Logcat:
03-20 01:08:20.433: D/Launcher.Model(418): Reload apps on config change. curr_mcc:310 prevmcc:0 03-20 01:08:20.473: E/StrictMode(401): A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks. 03-20 01:08:20.473: E/StrictMode(401): java.lang.Throwable: Explicit termination method 'close' not called 03-20 01:08:20.473: E/StrictMode(401): at dalvik.system.CloseGuard.open(CloseGuard.java:184) 03-20 01:08:20.473: E/StrictMode(401): at android.database.CursorWindow.(CursorWindow.java:137) 03-20 01:08:20.473: E/StrictMode(401): at android.database.CursorWindow.(CursorWindow.java:41) 03-20 01:08:20.473: E/StrictMode(401): at android.database.CursorWindow$1.createFromParcel(CursorWindow.java:681) 03-20 01:08:20.473: E/StrictMode(401): at android.database.CursorWindow$1.createFromParcel(CursorWindow.java:679) 03-20 01:08:20.473: E/StrictMode(401): at android.database.BulkCursorDescriptor.readFromParcel(BulkCursorDescriptor.java:75) 03-20 01:08:20.473: E/StrictMode(401): at android.database.BulkCursorDescriptor$1.createFromParcel(BulkCursorDescriptor.java:34) 03-20 01:08:20.473: E/StrictMode(401): at android.database.BulkCursorDescriptor$1.createFromParcel(BulkCursorDescriptor.java:30) 03-20 01:08:20.473: E/StrictMode(401): at android.content.ContentProviderProxy.query(ContentProviderNative.java:369) 03-20 01:08:20.473: E/StrictMode(401): at android.content.ContentResolver.query(ContentResolver.java:370) 03-20 01:08:20.473: E/StrictMode(401): at android.content.CursorLoader.loadInBackground(CursorLoader.java:65) 03-20 01:08:20.473: E/StrictMode(401): at android.content.CursorLoader.loadInBackground(CursorLoader.java:43) 03-20 01:08:20.473: E/StrictMode(401): at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:301) 03-20 01:08:20.473: E/StrictMode(401): at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:68) 03-20 01:08:20.473: E/StrictMode(401): at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:56) 03-20 01:08:20.473: E/StrictMode(401): at android.os.AsyncTask$2.call(AsyncTask.java:287) 03-20 01:08:20.473: E/StrictMode(401): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305) 03-20 01:08:20.473: E/StrictMode(401): at java.util.concurrent.FutureTask.run(FutureTask.java:137) 03-20 01:08:20.473: E/StrictMode(401): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076) 03-20 01:08:20.473: E/StrictMode(401): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569) 03-20 01:08:20.473: E/StrictMode(401): at java.lang.Thread.run(Thread.java:856) 03-20 01:08:20.484: D/Launcher.Model(418): going to save icon bitmap for info=ShortcutInfo(title=Settingsintent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.settings/.Settings }id=6 type=0 container=-100 screen=3 cellX=2 cellY=3 spanX=1 spanY=1 isGesture=false dropPos=null) 03-20 01:08:20.534: E/StrictMode(401): A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks. 03-20 01:08:20.534: E/StrictMode(401): java.lang.Throwable: Explicit termination method 'close' not called 03-20 01:08:20.534: E/StrictMode(401): at dalvik.system.CloseGuard.open(CloseGuard.java:184) 03-20 01:08:20.534: E/StrictMode(401): at android.content.ContentResolver$CursorWrapperInner.(ContentResolver.java:1835) 03-20 01:08:20.534: E/StrictMode(401): at android.content.ContentResolver.query(ContentResolver.java:392) 03-20 01:08:20.534: E/StrictMode(401): at android.content.CursorLoader.loadInBackground(CursorLoader.java:65) 03-20 01:08:20.534: E/StrictMode(401): at android.content.CursorLoader.loadInBackground(CursorLoader.java:43) 03-20 01:08:20.534: E/StrictMode(401): at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:301) 03-20 01:08:20.534: E/StrictMode(401): at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:68) 03-20 01:08:20.534: E/StrictMode(401): at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:56) 03-20 01:08:20.534: E/StrictMode(401): at android.os.AsyncTask$2.call(AsyncTask.java:287) 03-20 01:08:20.534: E/StrictMode(401): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305) 03-20 01:08:20.534: E/StrictMode(401): at java.util.concurrent.FutureTask.run(FutureTask.java:137) 03-20 01:08:20.534: E/StrictMode(401): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076) 03-20 01:08:20.534: E/StrictMode(401): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569) 03-20 01:08:20.534: E/StrictMode(401): at java.lang.Thread.run(Thread.java:856) 03-20 01:08:20.534: W/CursorWrapperInner(401): Cursor finalized without prior close() 03-20 01:08:20.563: W/CursorWrapperInner(401): Cursor finalized without prior close() 03-20 01:08:20.614: D/AlertService(401): No fired or scheduled alerts 03-20 01:08:20.704: D/dalvikvm(418): GC_CONCURRENT freed 328K, 5% free 10193K/10631K, paused 17ms+7ms, total 95ms 03-20 01:08:20.723: D/Launcher.Model(418): going to save icon bitmap for info=ShortcutInfo(title=Messagingintent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.mms/.ui.ConversationList }id=12 type=0 container=-101 screen=3 cellX=3 cellY=0 spanX=1 spanY=1 isGesture=false dropPos=null) 03-20 01:08:20.833: D/Launcher.Model(418): going to save icon bitmap for info=ShortcutInfo(title=Peopleintent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.contacts/.activities.PeopleActivity }id=10 type=0 container=-101 screen=1 cellX=1 cellY=0 spanX=1 spanY=1 isGesture=false dropPos=null) 03-20 01:08:20.893: D/dalvikvm(163): WAIT_FOR_CONCURRENT_GC blocked 0ms 03-20 01:08:21.083: D/dalvikvm(163): GC_EXPLICIT freed 222K, 47% free 10043K/18887K, paused 25ms+10ms, total 187ms 03-20 01:08:21.113: D/Launcher.Model(418): going to save icon bitmap for info=ShortcutInfo(title=Phoneintent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.contacts/.activities.DialtactsActivity }id=8 type=0 container=-101 screen=0 cellX=0 cellY=0 spanX=1 spanY=1 isGesture=false dropPos=null) 03-20 01:08:21.203: D/Launcher.Model(418): going to save icon bitmap for info=ShortcutInfo(title=Browserintent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.browser/.BrowserActivity }id=14 type=0 container=-101 screen=4 cellX=4 cellY=0 spanX=1 spanY=1 isGesture=false dropPos=null) 03-20 01:08:21.293: D/Launcher.Model(418): going to save icon bitmap for info=ShortcutInfo(title=Cameraintent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera/.Camera }id=4 type=0 container=-100 screen=2 cellX=0 cellY=3 spanX=1 spanY=1 isGesture=false dropPos=null) 03-20 01:08:21.713: I/PackageManager(163): Running dexopt on: com.example.clearlight 03-20 01:08:22.373: D/EmailProvider(570): Creating EmailProviderBody database 03-20 01:08:22.623: D/dalvikvm(375): GC_CONCURRENT freed 359K, 6% free 8370K/8839K, paused 17ms+45ms, total 174ms 03-20 01:08:22.943: D/EmailProvider(570): Creating EmailProvider database 03-20 01:08:23.623: D/dalvikvm(637): DexOpt: load 310ms, verify+opt 1126ms, 788740 bytes 03-20 01:08:23.833: D/EmailProvider(570): fromDatabase accounts: 0 03-20 01:08:23.844: D/EmailProvider(570): ending toDatabase transaction; copyCount = 0 03-20 01:08:23.873: D/EmailProvider(570): ending fromDatabase transaction; copyCount = 0 03-20 01:08:24.653: I/Email(570): Onetime initialization: completed. 03-20 01:08:24.964: D/dalvikvm(163): GC_CONCURRENT freed 452K, 47% free 10034K/18887K, paused 33ms+15ms, total 129ms 03-20 01:08:24.964: D/PackageManager(163): New package installed in /data/app/com.example.clearlight-1.apk 03-20 01:08:25.804: I/ActivityManager(163): Force stopping package com.example.clearlight uid=10037 03-20 01:08:25.954: W/ResourceType(418): Attempt to retrieve bag 0x7f0d0017 which is invalid or in a cycle. 03-20 01:08:25.954: W/ResourceType(418): Attempt to retrieve bag 0x7f0d0017 which is invalid or in a cycle. 03-20 01:08:25.954: W/ResourceType(418): Attempt to retrieve bag 0x7f0d0017 which is invalid or in a cycle. 03-20 01:08:25.954: W/ResourceType(418): Attempt to retrieve bag 0x7f0d0017 which is invalid or in a cycle. 03-20 01:08:25.954: W/ResourceType(418): Attempt to retrieve bag 0x7f0d0017 which is invalid or in a cycle. 03-20 01:08:26.294: D/AlertService(401): 0 Action = android.intent.action.PROVIDER_CHANGED 03-20 01:08:26.294: D/AlertService(401): Beginning updateAlertNotification 03-20 01:08:26.424: D/dalvikvm(163): WAIT_FOR_CONCURRENT_GC blocked 0ms 03-20 01:08:26.554: I/AccountTypeManager(501): Loaded meta-data for 1 account types, 0 accounts in 78ms(wall) 5ms(cpu) 03-20 01:08:26.604: I/Choreographer(418): Skipped 1623 frames! The application may be doing too much work on its main thread. 03-20 01:08:26.735: D/PackageManager(163): generateServicesMap(android.accounts.AccountAuthenticator): 2 services unchanged 03-20 01:08:26.754: I/InputReader(163): Reconfiguring input devices. changes=0x00000010 03-20 01:08:26.764: D/PackageManager(163): generateServicesMap(android.content.SyncAdapter): 4 services unchanged 03-20 01:08:26.764: D/BackupManagerService(163): Received broadcast Intent { act=android.intent.action.PACKAGE_ADDED dat=package:com.example.clearlight flg=0x8000010 (has extras) } 03-20 01:08:26.984: D/gralloc_goldfish(418): Emulator without GPU emulation detected. 03-20 01:08:26.994: V/BackupManagerService(163): addPackageParticipantsLocked: #1 03-20 01:08:27.124: W/InputMethodManagerService(163): Found no subtypes in a system IME: com.android.inputmethod.pinyin 03-20 01:08:27.205: D/dalvikvm(418): GC_FOR_ALLOC freed 414K, 5% free 10364K/10887K, paused 55ms, total 104ms 03-20 01:08:27.224: I/dalvikvm-heap(418): Grow heap (frag case) to 11.564MB for 1463056-byte allocation 03-20 01:08:27.334: D/dalvikvm(418): GC_FOR_ALLOC freed 30K, 5% free 11763K/12359K, paused 104ms, total 104ms 03-20 01:08:27.434: D/dalvikvm(418): GC_CONCURRENT freed <1K, 5% free 11763K/12359K, paused 17ms+21ms, total 106ms 03-20 01:08:27.564: D/dalvikvm(521): GC_CONCURRENT freed 225K, 4% free 8180K/8455K, paused 955ms+42ms, total 2035ms 03-20 01:08:27.694: E/SQLiteLog(521): (1) no such table: files 03-20 01:08:27.804: D/dalvikvm(163): GC_EXPLICIT freed 548K, 47% free 10010K/18887K, paused 1038ms+24ms, total 1380ms 03-20 01:08:27.804: D/dalvikvm(163): WAIT_FOR_CONCURRENT_GC blocked 198ms 03-20 01:08:27.814: D/dalvikvm(163): WAIT_FOR_CONCURRENT_GC blocked 511ms 03-20 01:08:27.814: D/dalvikvm(163): WAIT_FOR_CONCURRENT_GC blocked 444ms 03-20 01:08:27.824: D/dalvikvm(163): WAIT_FOR_CONCURRENT_GC blocked 415ms 03-20 01:08:27.834: D/dalvikvm(163): WAIT_FOR_CONCURRENT_GC blocked 413ms 03-20 01:08:27.834: D/dalvikvm(163): WAIT_FOR_CONCURRENT_GC blocked 372ms 03-20 01:08:27.834: D/dalvikvm(163): WAIT_FOR_CONCURRENT_GC blocked 372ms 03-20 01:08:27.834: D/dalvikvm(163): WAIT_FOR_CONCURRENT_GC blocked 369ms 03-20 01:08:27.844: D/dalvikvm(163): WAIT_FOR_CONCURRENT_GC blocked 371ms 03-20 01:08:27.844: D/dalvikvm(163): WAIT_FOR_CONCURRENT_GC blocked 369ms 03-20 01:08:27.844: D/dalvikvm(163): WAIT_FOR_CONCURRENT_GC blocked 327ms 03-20 01:08:27.844: D/dalvikvm(163): WAIT_FOR_CONCURRENT_GC blocked 324ms 03-20 01:08:27.944: D/ExchangeService(587): !!! EAS ExchangeService, onStartCommand, startingUp = true, running = false 03-20 01:08:27.944: D/dalvikvm(36): WAIT_FOR_CONCURRENT_GC blocked 0ms 03-20 01:08:27.964: I/ActivityManager(163): Start proc com.svox.pico for broadcast com.svox.pico/.VoiceDataInstallerReceiver: pid=649 uid=10015 gids={1015, 1028} 03-20 01:08:28.074: D/dalvikvm(36): GC_EXPLICIT freed 37K, 4% free 7964K/8259K, paused 6ms+8ms, total 132ms 03-20 01:08:28.084: D/dalvikvm(36): WAIT_FOR_CONCURRENT_GC blocked 0ms 03-20 01:08:28.174: D/dalvikvm(418): GC_FOR_ALLOC freed 2K, 5% free 11765K/12359K, paused 312ms, total 346ms 03-20 01:08:28.204: D/dalvikvm(36): GC_EXPLICIT freed <1K, 4% free 7964K/8259K, paused 24ms+5ms, total 121ms 03-20 01:08:28.204: I/dalvikvm-heap(418): Grow heap (frag case) to 12.932MB for 1463056-byte allocation 03-20 01:08:28.214: D/dalvikvm(36): WAIT_FOR_CONCURRENT_GC blocked 0ms 03-20 01:08:28.344: E/Trace(649): error opening trace file: No such file or directory (2) 03-20 01:08:28.364: D/dalvikvm(36): GC_EXPLICIT freed <1K, 4% free 7964K/8259K, paused 15ms+5ms, total 145ms 03-20 01:08:28.454: D/dalvikvm(418): GC_CONCURRENT freed <1K, 5% free 13193K/13831K, paused 31ms+8ms, total 243ms 03-20 01:08:28.454: D/dalvikvm(418): WAIT_FOR_CONCURRENT_GC blocked 195ms 03-20 01:08:28.484: I/ActivityThread(649): Pub com.svox.pico.providers.SettingsProvider: com.svox.pico.providers.SettingsProvider 03-20 01:08:28.615: D/dalvikvm(163): WAIT_FOR_CONCURRENT_GC blocked 1152ms 03-20 01:08:28.714: I/ActivityManager(163): Displayed com.android.launcher/com.android.launcher2.Launcher: +26s665ms (total
+37s591ms) 03-20 01:08:28.787: I/ARMAssembler(35): generated scanline__00000077:03515104_00009002_00000000 [127 ipp] (149 ins) at [0x4124a4b8:0x4124a70c] in 917426 ns 03-20 01:08:29.199: I/ARMAssembler(35): generated scanline__00000077:03010104_00008002_00000000 [ 89 ipp] (110 ins) at [0x4124a710:0x4124a8c8] in 809441 ns 03-20 01:08:29.394: D/dalvikvm(277): GC_FOR_ALLOC freed 9816K, 53% free 9024K/18887K, paused 702ms, total 748ms 03-20 01:08:29.414: I/dalvikvm-heap(277): Grow heap (frag case) to 15.888MB for 7372816-byte allocation 03-20 01:08:29.584: D/dalvikvm(277): GC_CONCURRENT freed 132K, 15% free 16091K/18887K, paused 50ms+18ms, total 176ms 03-20 01:08:29.864: D/dalvikvm(277): GC_FOR_ALLOC freed <1K, 15% free 16091K/18887K, paused 47ms, total 47ms 03-20 01:08:29.894: I/dalvikvm-heap(277): Grow heap (frag case) to 18.688MB for 3072016-byte allocation 03-20 01:08:30.024: D/dalvikvm(277): GC_CONCURRENT freed 0K, 13% free 19091K/21895K, paused 20ms+19ms, total 126ms 03-20 01:08:30.024: D/dalvikvm(277): WAIT_FOR_CONCURRENT_GC blocked 107ms 03-20 01:08:30.504: D/AndroidRuntime(250): Shutting down VM 03-20 01:08:30.524: D/dalvikvm(250): GC_CONCURRENT freed 97K, 78% free 453K/2048K, paused 1ms+2ms, total 15ms 03-20 01:08:30.524: D/jdwp(250): Got wake-up signal, bailing out of select 03-20 01:08:30.524: D/dalvikvm(250): Debugger has detached; object registry had 1 entries 03-20 01:08:30.534: I/AndroidRuntime(250): NOTE: attach of thread 'Binder_3' failed 03-20 01:08:30.794: I/InputReader(163): Reconfiguring input devices. changes=0x00000010 03-20 01:08:30.844: D/PackageManager(163): generateServicesMap(android.accounts.AccountAuthenticator): 2 services unchanged 03-20 01:08:30.864: I/InputReader(163): Reconfiguring input devices. changes=0x00000010 03-20 01:08:30.894: D/PackageManager(163): generateServicesMap(android.content.SyncAdapter): 4 services unchanged 03-20 01:08:31.024: D/PackageManager(163): generateServicesMap(android.accounts.AccountAuthenticator): 2 services unchanged 03-20 01:08:31.064: D/PackageManager(163): generateServicesMap(android.content.SyncAdapter): 4 services unchanged 03-20 01:08:31.264: I/AccountTypeManager(501): Loaded meta-data for 1 account types, 0 accounts in 30ms(wall) 6ms(cpu) 03-20 01:08:31.294: I/AccountTypeManager(501): Loaded meta-data for 1 account types, 0 accounts in 24ms(wall) 7ms(cpu) 03-20 01:08:31.564: D/AndroidRuntime(668): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<< 03-20 01:08:31.564: D/AndroidRuntime(668): CheckJNI is ON 03-20 01:08:31.644: D/dalvikvm(668): Trying to load lib libjavacore.so 0x0 03-20 01:08:31.664: D/dalvikvm(668): Added shared lib libjavacore.so 0x0 03-20 01:08:31.734: D/dalvikvm(668): Trying to load lib libnativehelper.so 0x0 03-20 01:08:31.734: D/dalvikvm(668): Added shared lib libnativehelper.so 0x0 03-20 01:08:31.904: D/dalvikvm(163): GC_CONCURRENT freed 404K, 48% free 10005K/18887K, paused 116ms+20ms, total 388ms 03-20 01:08:32.254: D/dalvikvm(501): GC_CONCURRENT freed 203K, 4% free 8205K/8519K, paused 98ms+21ms, total 963ms 03-20 01:08:32.564: D/AlertService(401): No fired or scheduled alerts 03-20 01:08:32.834: D/dalvikvm(469): GC_CONCURRENT freed 232K, 4% free 8181K/8519K, paused 90ms+7ms, total 540ms 03-20 01:08:33.074: I/Choreographer(418): Skipped 1563 frames! The application may be doing too much work on its main thread. 03-20 01:08:33.094: D/AndroidRuntime(668): Calling main entry com.android.commands.am.Am 03-20 01:08:33.164: I/ActivityManager(163): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.example.clearlight/.HomePage u=0} from pid 668 03-20 01:08:33.214: D/PermissionCache(35): checking android.permission.READ_FRAME_BUFFER for uid=1000 => granted (1103 us) 03-20 01:08:33.224: W/WindowManager(163): Failure taking screenshot for (246x410) to layer 21005 03-20 01:08:33.234: D/AndroidRuntime(668): Shutting down VM 03-20 01:08:33.274: D/dalvikvm(668): GC_CONCURRENT freed 98K, 77% free 483K/2048K, paused 2ms+3ms, total 32ms 03-20 01:08:33.284: I/AndroidRuntime(668): NOTE: attach of thread 'Binder_3' failed 03-20 01:08:33.404: I/ContactDirectoryManager(375): deleted 0 stale rows which don't have any relevant directory 03-20 01:08:33.604: D/dalvikvm(682): Not late-enabling CheckJNI (already on) 03-20 01:08:33.635: I/ActivityManager(163): Start proc com.example.clearlight for activity com.example.clearlight/.HomePage: pid=682 uid=10037 gids={3003, 1028} 03-20 01:08:34.093: E/Trace(682): error opening trace file: No such file or directory (2) 03-20 01:08:34.314: I/ARMAssembler(35): generated scanline__00000077:03515104_00009001_00000000 [131 ipp] (153 ins) at [0x4124a8d0:0x4124ab34] in 736260 ns 03-20 01:08:34.754: D/gralloc_goldfish(682): Emulator without GPU emulation detected. 03-20 01:08:34.824: I/ActivityManager(163): Displayed com.example.clearlight/.HomePage: +1s253ms 03-20 01:08:35.484: I/ContactDirectoryManager(375): Discovered 0 contact directories in 7915ms 03-20 01:08:35.484: I/Launcher(418): setLoadOnResume 03-20 01:08:35.564: I/Launcher(418): setLoadOnResume 03-20 01:08:35.615: W/RecognitionManagerService(163): no available voice recognition services found 03-20 01:08:35.634: I/ContactsDatabaseHelper(375): Switching to locale en_US 03-20 01:08:35.785: D/dalvikvm(418): GREF has increased to 201 03-20 01:08:35.804: I/Launcher(418): setLoadOnResume 03-20 01:08:35.804: I/Launcher(418): setLoadOnResume 03-20 01:08:35.983: W/ActivityManager(163): Permission denied: checkComponentPermission() owningUid=1000 03-20 01:08:35.983: W/BroadcastQueue(163): Permission Denial: broadcasting Intent { act=android.appwidget.action.APPWIDGET_UPDATE_OPTIONS flg=0x10 cmp=com.android.settings/.widget.SettingsAppWidgetProvider (has extras) } from android (pid=418, uid=10014) is not exported from uid 1000 due to receiver com.android.settings/com.android.settings.widget.SettingsAppWidgetProvider 03-20 01:08:36.003: I/Launcher(418): setLoadOnResume 03-20 01:08:36.074: E/WVMExtractor(38): Failed to open libwvm.so 03-20 01:08:36.213: D/dalvikvm(418): GC_CONCURRENT freed 1906K, 14% free 12996K/15047K, paused 36ms+14ms, total 145ms 03-20 01:08:36.613: I/ActivityManager(163): Start proc com.android.quicksearchbox for broadcast com.android.quicksearchbox/.CorporaUpdateReceiver: pid=700 uid=10006 gids={3003, 1028} 03-20 01:08:36.773: E/Trace(700): error opening trace file: No such file or directory (2) 03-20 01:08:36.903: I/ActivityThread(700): Pub com.android.quicksearchbox.google: com.android.quicksearchbox.google.GoogleSuggestionProvider 03-20 01:08:36.993: I/ActivityThread(700): Pub com.android.quicksearchbox.shortcuts: com.android.quicksearchbox.ShortcutsProvider 03-20 01:08:37.363: I/Choreographer(418): Skipped 126 frames! The application may be doing too much work on its main thread. 03-20 01:08:37.373: E/WVMExtractor(38): Failed to open libwvm.so 03-20 01:08:38.434: I/Launcher(418): setLoadOnResume 03-20 01:08:38.454: I/Launcher(418): setLoadOnResume 03-20 01:08:38.543: E/WVMExtractor(38): Failed to open libwvm.so 03-20 01:08:38.603: E/MetadataRetrieverClient(38): failed to extract an album art 03-20 01:08:39.003: D/dalvikvm(375): GC_CONCURRENT freed 387K, 6% free 8414K/8903K, paused 31ms+5ms, total 110ms 03-20 01:08:39.263: I/ContactsDatabaseHelper(375): Locale change completed in 3621ms 03-20 01:08:39.263: I/ContactsDatabaseHelper(375): Switching to locale en_US 03-20 01:08:39.763: I/ContactsDatabaseHelper(375): Locale change completed in 501ms 03-20 01:08:39.773: I/ContactsProvider(375): Upgrading aggregation algorithm 03-20 01:08:39.803: I/ContactAggregator(375): Marked all visible contacts for aggregation: 0 raw contacts, 21 ms 03-20 01:08:39.833: I/ContactsProvider(375): Aggregation algorithm upgraded for 0 raw contacts in 59ms 03-20 01:08:40.263: I/ContactsFTS(375): Rebuild contact search index in 340ms, 0 contacts 03-20 01:08:40.533: D/dalvikvm(375): GC_CONCURRENT freed 447K, 7% free 8413K/8967K, paused 75ms+104ms, total 241ms 03-20 01:08:41.633: I/ActivityManager(163): START {cmp=com.example.clearlight/.MainActivity u=0} from pid 682 03-20 01:08:41.633: W/WindowManager(163): Failure taking screenshot for (246x410) to layer 21010 03-20 01:08:42.063: I/ActivityManager(163): Displayed com.example.clearlight/.MainActivity: +418ms 03-20 01:08:43.843: D/dalvikvm(163): GC_CONCURRENT freed 281K, 47% free 10128K/18887K, paused 123ms+10ms, total 225ms