android - When I clear the app data it doesn't work anymore -


i doing app using xamarin forms, tested on celphone, apk there. when clear data on android, app doesn't open anymore... did see that? problem??

yes, normal xamarin.android apps built in debug mode.

if clear data removing directories/files used debugging:

before clearing data:

.: drwxrwx--x   2 u0_a93 u0_a93 4096 2017-09-11 21:15 cache drwxrwx--x   2 u0_a93 u0_a93 4096 2017-09-11 21:15 code_cache drwxrwx--x   5 u0_a93 u0_a93 4096 2017-09-11 21:24 files lrwxrwxrwx   1 root root     60 2017-09-11 21:15 lib -> /data/app/com.sushihangover.geneticcancerdnamapper-1/lib/x86     ./cache:     ./code_cache:     ./files:         drwxrwxrwx 3 u0_a93 u0_a93 4096 2017-09-11 21:24 .__override__         drwxr-xr-x 2 u0_a93 u0_a93 4096 2017-09-11 21:24 .config         drwxr-xr-x 3 u0_a93 u0_a93 4096 2017-09-11 21:24 .local         ./files/.__override__:             drwxrwxrwx 2 u0_a93 u0_a93 4096 2017-09-11 21:24 links         ./files/.__override__/links:             lrwxrwxrwx 1 u0_a93 u0_a93   70 2017-09-11 21:24 libmonosgen-2.0.so -> /data/app/mono.android.debugruntime-1/lib/x86/libmonosgen-32bit-2.0.so         ./files/.config:         ./files/.local:             drwxr-xr-x 2 u0_a93 u0_a93 4096 2017-09-11 21:24 share             ./files/.local/share: 

after clearing data:

.: lrwxrwxrwx   1 root root     60 2017-09-11 21:25 lib -> /data/app/com.sushihangover.geneticcancerdnamapper-1/lib/x86 

this data not needed release builds , application.datadir not used xamarin's runtime in release builds.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -