apk - Why does the Android App that sends data to azure SQL Database not running on phone but on AVD on Android Studio? -


i trying make android app sends data phone sql database @ azure cloud.

i have followed, close possible,the tutorials given on https://azure.microsoft.com/en-us/documentation/articles/mobile-services-dotnet-backend-android-get-started/

first off all, have little bit confusion regarding creating .apk file in android studio. here, have assumed .apk in \app\build\outputs.

now, trying run app-debug.apk on redmi 1s android version 4.3 jls36c, app opens , vanishes away. tried run on samsung galaxy note-3 neo (sm-n750) android version:android 4.4.2

when try run app on emulator itself, running. not on phones. do? here build.gradle file

apply plugin: 'com.android.application'  android { compilesdkversion 20 buildtoolsversion "19.1.0"  defaultconfig {     applicationid "com.example.zumoappname"     minsdkversion 8     targetsdkversion 20     versioncode 1     versionname "1.0" } buildtypes {     release {         minifyenabled false         proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro'     } }  repositories {     flatdir {         dirs 'aars'         }     } }  dependencies { compile filetree(dir: 'libs', include: ['*.jar']) compile 'com.google.code.gson:gson:2.3' compile 'com.google.guava:guava:18.0' compile 'com.microsoft.azure:azure-mobile-services-android-sdk:2.0.2' compile (group: 'com.microsoft.azure', name: 'azure-notifications-handler', version: '1.0.1', ext: 'jar') } 

please help!

try setting breakpoints in oncreate method , step through code can find out code failing.

another issue have run device failures when network connection not available.

but try find out line of code failing...


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -