cordova - Ionic framework android project (using intellij) starts on some devices/emulators but not in others -


i'm using intellij idea 14 plugin phonegap/cordova run ionic framework projects.

the thing project works okay on android tablet, not in android smartphone, works okay on default android sdk emulator, not genymotion emulators. when try build success message no errors, can see:

"d:\intellij idea 14.0\bin\runnerw.exe" c:\users\mateo\appdata\roaming\npm\ionic.cmd run --emulator --target=479009ad544bb0a4 android running command: "c:\program files\nodejs\node.exe" d:\drive\cordova-angular\todoapp\hooks\after_prepare\010_add_platform_class.js d:\drive\cordova-angular\todoapp add body class: platform-android running command: cmd "/s /c "d:\drive\cordova-angular\todoapp\platforms\android\cordova\run.bat --emulator --target=479009ad544bb0a4"" android_home=d:\androidsdk java_home=c:\program files\java\jdk1.7.0_80 running: d:\drive\cordova-angular\todoapp\platforms\android\gradlew cdvbuilddebug -b d:\drive\cordova-angular\todoapp\platforms\android\build.gradle -pcdvbuildarch=arm -dorg.gradle.daemon=true :prebuild :compiledebugndk up-to-date :predebugbuild :checkdebugmanifest :cordovalib:compilelint :cordovalib:copydebuglint up-to-date :cordovalib:mergedebugproguardfiles up-to-date :cordovalib:prebuild :cordovalib:predebugbuild :cordovalib:checkdebugmanifest :cordovalib:preparedebugdependencies :cordovalib:compiledebugaidl up-to-date :cordovalib:compiledebugrenderscript up-to-date :cordovalib:generatedebugbuildconfig up-to-date :cordovalib:generatedebugassets up-to-date :cordovalib:mergedebugassets up-to-date :cordovalib:generatedebugresvalues up-to-date :cordovalib:generatedebugresources up-to-date :cordovalib:packagedebugresources up-to-date :cordovalib:processdebugmanifest up-to-date :cordovalib:processdebugresources up-to-date :cordovalib:generatedebugsources up-to-date :cordovalib:compiledebugjava up-to-date :cordovalib:processdebugjavares up-to-date :cordovalib:packagedebugjar up-to-date :cordovalib:compiledebugndk up-to-date :cordovalib:packagedebugjnilibs up-to-date :cordovalib:packagedebuglocaljar up-to-date :cordovalib:packagedebugrenderscript up-to-date :cordovalib:bundledebug up-to-date :prepareandroidcordovalibunspecifieddebuglibrary up-to-date :preparedebugdependencies :compiledebugaidl up-to-date :compiledebugrenderscript up-to-date :generatedebugbuildconfig up-to-date :generatedebugassets up-to-date :mergedebugassets up-to-date :generatedebugresvalues up-to-date :generatedebugresources up-to-date :mergedebugresources up-to-date :processdebugmanifest up-to-date :processdebugresources up-to-date :generatedebugsources up-to-date :compiledebugjava up-to-date :predexdebug up-to-date :dexdebug up-to-date :processdebugjavares up-to-date :validatedebugsigning :packagedebug up-to-date :zipaligndebug up-to-date :assembledebug up-to-date :cdvbuilddebug up-to-date  build successful  total time: 2.356 secs built following apk(s):     d:\drive\cordova-angular\todoapp\platforms\android\build\outputs\apk\android-debug.apk using apk: d:\drive\cordova-angular\todoapp\platforms\android\build\outputs\apk\android-debug.apk installing app on device... launching application... launch success 

in devices doesn't run opens settings buttons menu:

  • wallpaper
  • manage apps
  • system settings

i know must try **edit configurations -> command: run -> platform: android -> specify target: ####### number of actual device " ** this:

enter image description here

i appreciate since bug without no errors making me crazy , haven't found solution online.

well have figured out best use ide in case intellij text editor. , run else command line terminal window:

so example if want run on android device plug in usb cable , then:

[cordova|ionic] run android

and works.

also quick edits better use browser with:

ionic serve

which lives update app in browser useful.

update

better use webstorm same guys intellij (jetbrrains) more suitable work javascript , angular ionic uses


Comments

Popular posts from this blog

php - Admin SDK -- get information about the group -

Python Error - TypeError: input expected at most 1 arguments, got 3 -

dns - How To Use Custom Nameserver On Free Cloudflare? -