/data/data/package is not created on Android [on hold]

[postlink] https://the-best-way-of-life-is-islam.blogspot.com/2015/07/datadatapackage-is-not-created-on.html [/postlink]

The problem

I'm experiencing a strange problem recently. Randomly (10%) just after the installation my app crashes. The problem is that the app can't write anything (preferences, databases, files) because the folder /data/data/packagename has not been created.

My test

I did some tests to better understand the problem. I wrote a loop that install and uninstall the app with 20 seconds gaps; while I was running this I started monitoring the folder /data/data.

What I discovered is that during the installation the folder is always created but sometimes (before adb install returns Success, even if the app is not started) the folder is deleted.

More details

I'm not posting any code because the problem happens even before the app is started

I'm testing my app on lollipop but I get similar reports from kitkat devices too.

Has everyone already meet a similar problem? Do you know any solution?

اذا أعجبك الموضوع ساهم في نشره :

Enregistrer un commentaire

 
حقوق النشر: Published by | Template Created by | القناة على اليوتيب
copyright © 2014. The Best Way Of Life Is Islam -يمكن نقل كل ما هو موجود في موقع الرحمة تيوب
القرآن الكريم و الأحاديث النبوية أناشيد و دروس اسلامية منوعة موقع الفيديوهات الاسلامية
تطوير و تعريب مدونة ثعلوب