{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic-cli/issues/507","labels_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/507/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/507/comments","events_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/507/events","html_url":"https://github.com/driftyco/ionic-cli/issues/507","id":90949853,"number":507,"title":"ionic apps do not run in 4.x android platforms","user":{"login":"rsa408","id":4402631,"avatar_url":"https://avatars.githubusercontent.com/u/4402631?v=3","gravatar_id":"","url":"https://api.github.com/users/rsa408","html_url":"https://github.com/rsa408","followers_url":"https://api.github.com/users/rsa408/followers","following_url":"https://api.github.com/users/rsa408/following{/other_user}","gists_url":"https://api.github.com/users/rsa408/gists{/gist_id}","starred_url":"https://api.github.com/users/rsa408/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsa408/subscriptions","organizations_url":"https://api.github.com/users/rsa408/orgs","repos_url":"https://api.github.com/users/rsa408/repos","events_url":"https://api.github.com/users/rsa408/events{/privacy}","received_events_url":"https://api.github.com/users/rsa408/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-25T12:32:50Z","updated_at":"2015-06-29T16:46:20Z","closed_at":"2015-06-29T16:46:19Z","body":"After upgrading Nodejs and all other modules I can not run Ionic build apps in 4.x version of androids\r\n\r\nit shows that application successful lunched but there is no any app installation on emulator or attached device. the same thing is in cordova\r\n\r\nionic info:\r\n\r\nCordova CLI: 5.1.1 Ionic Version: 1.0.0 Ionic CLI Version: 1.5.5 Ionic App Lib Version: 0.2.2 OS: Windows 7 SP1 Node Version: v0.12.5\r\n\r\nNpm version { menu: '1.0.0', npm: '2.11.2', http_parser: '2.3', modules: '14', node: '0.12.5', openssl: '1.0.1o', uv: '1.6.1', v8: '3.28.71.19', zlib: '1.2.8' }\r\n\r\n\r\nThese commands  run successfuly but the application is not run in any 4.x ver of android devices or emulators;\r\n\r\nC:\\>ionic start test sidemenu\r\nCreating Ionic app in folder C:\\test based on sidemenu project\r\nDownloading: https://github.com/driftyco/ionic-app-base/archive/master.zip\r\n[=============================]  100%  0.0s\r\nUpdated the hooks directory to have execute permissions\r\nUpdate Config.xml\r\nInitializing cordova project\r\n\r\nYour Ionic project is ready to go! Some quick tips:\r\n\r\n * cd into your project: $ cd test\r\n\r\n * Setup this project to use Sass: ionic setup sass\r\n\r\n * Develop in the browser with live reload: ionic serve\r\n\r\n * Add a platform (ios or Android): ionic platform add ios [android]\r\n   Note: iOS development requires OS X currently\r\n   See the Android Platform Guide for full Android installation instructions:\r\n   https://cordova.apache.org/docs/en/edge/guide_platforms_android_index.md.html\r\n\r\n * Build your app: ionic build <PLATFORM>\r\n\r\n * Simulate your app: ionic emulate <PLATFORM>\r\n\r\n * Run your app on a device: ionic run <PLATFORM>\r\n\r\n * Package an app using Ionic package service: ionic package <MODE> <PLATFORM>\r\n\r\nFor more help use ionic --help or ionic docs\r\n\r\nVisit the Ionic docs: http://ionicframework.com/docs\r\n\r\n\r\nNew! Add push notifications to your Ionic app with Ionic Push (alpha)!\r\nhttps://apps.ionic.io/signup\r\n+---------------------------------------------------------+\r\n+ New Ionic Updates for June 2015\r\n+\r\n+ The View App just landed. Preview your apps on any device\r\n+ http://view.ionic.io\r\n+\r\n+ Invite anyone to preview and test your app\r\n+ ionic share EMAIL\r\n+\r\n+ Generate splash screens and icons with ionic resource\r\n+ http://ionicframework.com/blog/automating-icons-and-splash-screens/\r\n+\r\n+---------------------------------------------------------+\r\n\r\n=============================================================================\r\n\r\nC:\\test>ionic platform add android\r\nUpdated the hooks directory to have execute permissions\r\nDownloading Default Ionic Resources\r\nDownloading: https://github.com/driftyco/ionic-default-resources/archive/master.\r\nzip\r\n[=============================]  100%  0.0s\r\nDone adding default Ionic resources\r\nAdding icons for platform: android\r\n\r\nnpm http GET https://registry.npmjs.org/cordova-android \r\nnpm http 304 https://registry.npmjs.org/cordova-android\r\nnpm http GET https://registry.npmjs.org/cordova-android\r\nnpm http 304 https://registry.npmjs.org/cordova-android\r\n\r\nAdding android project...\r\nCreating Cordova project for the Android platform:\r\n        Path: platforms\\android\r\n        Package: com.ionicframework.test723387\r\n        Name: test\r\n        Activity: MainActivity\r\n        Android target: android-22\r\n\r\nCopying template files...\r\n\r\nAndroid project created with cordova-android@4.0.2\r\nRunning command: \"C:\\Program Files\\nodejs2\\node.exe\" C:\\test\\hooks\\after_prepare\r\n\\010_add_platform_class.js C:\\test\r\nadd to body class: platform-android\r\nInstalling \"com.ionic.keyboard\" for android\r\nInstalling \"cordova-plugin-console\" for android\r\nInstalling \"cordova-plugin-device\" for android\r\nInstalling \"cordova-plugin-splashscreen\" for android\r\nInstalling \"cordova-plugin-whitelist\" for android\r\nSaving platform to package.json file\r\n\r\n=============================================================================\r\n\r\nC:\\test>ionic build android\r\nRunning command: \"C:\\Program Files\\nodejs2\\node.exe\" C:\\test\\hooks\\after_prepare\\010_add_platform_class.js C:\\test\r\nadd to body class: platform-android\r\nRunning command: cmd \"/s /c \"C:\\test\\platforms\\android\\cordova\\build.bat\"\"\r\nANDROID_HOME=D:\\adt-bundle-windows-x86-20130219\\SDK\r\nJAVA_HOME=C:\\Program Files\\Java\\jdk1.8.0_20\r\nRunning: C:\\test\\platforms\\android\\gradlew cdvBuildDebug -b C:\\test\\platforms\\android\\build.gradle -Dorg.gradle.daemon=true\r\n:preBuild\r\n:compileDebugNdk\r\n:preDebugBuild\r\n:checkDebugManifest\r\n:CordovaLib:compileLint\r\n:CordovaLib:copyDebugLint UP-TO-DATE\r\n:CordovaLib:mergeDebugProguardFiles\r\n:CordovaLib:preBuild\r\n:CordovaLib:preDebugBuild\r\n:CordovaLib:checkDebugManifest\r\n:CordovaLib:prepareDebugDependencies\r\n:CordovaLib:compileDebugAidl\r\n:CordovaLib:compileDebugRenderscript\r\n:CordovaLib:generateDebugBuildConfig\r\n:CordovaLib:generateDebugAssets UP-TO-DATE\r\n:CordovaLib:mergeDebugAssets\r\n:CordovaLib:generateDebugResValues\r\n:CordovaLib:generateDebugResources\r\n:CordovaLib:packageDebugResources\r\n:CordovaLib:processDebugManifest\r\n:CordovaLib:processDebugResources\r\n:CordovaLib:generateDebugSources\r\n:CordovaLib:compileDebugJavaNote: Some input files use or override a deprecated API.\r\nNote: Recompile with -Xlint:deprecation for details.\r\n\r\n:CordovaLib:processDebugJavaRes UP-TO-DATE\r\n:CordovaLib:packageDebugJar\r\n:CordovaLib:compileDebugNdk\r\n:CordovaLib:packageDebugJniLibs UP-TO-DATE\r\n:CordovaLib:packageDebugLocalJar UP-TO-DATE\r\n:CordovaLib:packageDebugRenderscript UP-TO-DATE\r\n:CordovaLib:bundleDebug\r\n:prepareAndroidCordovaLibUnspecifiedDebugLibrary\r\n:prepareDebugDependencies\r\n:compileDebugAidl\r\n:compileDebugRenderscript\r\n:generateDebugBuildConfig\r\n:generateDebugAssets UP-TO-DATE\r\n:mergeDebugAssets\r\n:generateDebugResValues\r\n:generateDebugResources\r\n:mergeDebugResources\r\n:processDebugManifest\r\n:processDebugResources\r\n:generateDebugSources\r\n:compileDebugJavaNote: Some input files use or override a deprecated API.\r\nNote: Recompile with -Xlint:deprecation for details.\r\n\r\n:preDexDebug\r\n:dexDebug\r\n:processDebugJavaRes UP-TO-DATE\r\n:validateDebugSigning\r\n:packageDebug\r\n:zipalignDebug\r\n:assembleDebug\r\n:cdvBuildDebug\r\n\r\nBUILD SUCCESSFUL\r\n\r\nTotal time: 44.838 secs\r\nBuilt the following apk(s):\r\n    C:\\test\\platforms\\android\\build\\outputs\\apk\\android-debug.apk\r\n\r\n=============================================================================\r\n\r\nemulate on mydev android 4.1.2\r\n\r\n=============================================================================\r\nRunning command: \"C:\\Program Files\\nodejs2\\node.exe\" C:\\test\\hooks\\after_prepare\\010_add_platform_class.js C:\\test\r\nadd to body class: platform-android\r\nRunning command: cmd \"/s /c \"C:\\test\\platforms\\android\\cordova\\run.bat --emulator\"\"\r\nANDROID_HOME=D:\\adt-bundle-windows-x86-20130219\\SDK\r\nJAVA_HOME=C:\\Program Files\\Java\\jdk1.8.0_20\r\nRunning: C:\\test\\platforms\\android\\gradlew cdvBuildDebug -b C:\\test\\platforms\\android\\build.gradle -PcdvBuildArch=arm -Dorg.gradle.daemon=true\r\n:preBuild\r\n:compileDebugNdk UP-TO-DATE\r\n:preDebugBuild\r\n:checkDebugManifest\r\n:CordovaLib:compileLint\r\n:CordovaLib:copyDebugLint UP-TO-DATE\r\n:CordovaLib:mergeDebugProguardFiles UP-TO-DATE\r\n:CordovaLib:preBuild\r\n:CordovaLib:preDebugBuild\r\n:CordovaLib:checkDebugManifest\r\n:CordovaLib:prepareDebugDependencies\r\n:CordovaLib:compileDebugAidl UP-TO-DATE\r\n:CordovaLib:compileDebugRenderscript UP-TO-DATE\r\n:CordovaLib:generateDebugBuildConfig UP-TO-DATE\r\n:CordovaLib:generateDebugAssets UP-TO-DATE\r\n:CordovaLib:mergeDebugAssets UP-TO-DATE\r\n:CordovaLib:generateDebugResValues UP-TO-DATE\r\n:CordovaLib:generateDebugResources UP-TO-DATE\r\n:CordovaLib:packageDebugResources UP-TO-DATE\r\n:CordovaLib:processDebugManifest UP-TO-DATE\r\n:CordovaLib:processDebugResources UP-TO-DATE\r\n:CordovaLib:generateDebugSources UP-TO-DATE\r\n:CordovaLib:compileDebugJava UP-TO-DATE\r\n:CordovaLib:processDebugJavaRes UP-TO-DATE\r\n:CordovaLib:packageDebugJar UP-TO-DATE\r\n:CordovaLib:compileDebugNdk UP-TO-DATE\r\n:CordovaLib:packageDebugJniLibs UP-TO-DATE\r\n:CordovaLib:packageDebugLocalJar UP-TO-DATE\r\n:CordovaLib:packageDebugRenderscript UP-TO-DATE\r\n:CordovaLib:bundleDebug UP-TO-DATE\r\n:prepareAndroidCordovaLibUnspecifiedDebugLibrary UP-TO-DATE\r\n:prepareDebugDependencies\r\n:compileDebugAidl UP-TO-DATE\r\n:compileDebugRenderscript UP-TO-DATE\r\n:generateDebugBuildConfig UP-TO-DATE\r\n:generateDebugAssets UP-TO-DATE\r\n:mergeDebugAssets UP-TO-DATE\r\n:generateDebugResValues UP-TO-DATE\r\n:generateDebugResources UP-TO-DATE\r\n:mergeDebugResources UP-TO-DATE\r\n:processDebugManifest UP-TO-DATE\r\n:processDebugResources UP-TO-DATE\r\n:generateDebugSources UP-TO-DATE\r\n:compileDebugJava UP-TO-DATE\r\n:preDexDebug UP-TO-DATE\r\n:dexDebug UP-TO-DATE\r\n:processDebugJavaRes UP-TO-DATE\r\n:validateDebugSigning\r\n:packageDebug UP-TO-DATE\r\n:zipalignDebug UP-TO-DATE\r\n:assembleDebug UP-TO-DATE\r\n:cdvBuildDebug UP-TO-DATE\r\n\r\nBUILD SUCCESSFUL\r\n\r\nTotal time: 19.329 secs\r\nBuilt the following apk(s):\r\n    C:\\test\\platforms\\android\\build\\outputs\\apk\\android-debug.apk\r\nInstalling app on emulator...\r\nUsing apk: C:\\test\\platforms\\android\\build\\outputs\\apk\\android-debug.apk\r\nLaunching application...\r\nLAUNCH SUCCESS\r\n\r\n\r\nbut there is no application installed or lunched\r\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic-cli/issues/comments/116756811","html_url":"https://github.com/driftyco/ionic-cli/issues/507#issuecomment-116756811","issue_url":"https://api.github.com/repos/driftyco/ionic-cli/issues/507","id":116756811,"user":{"login":"jbavari","id":1414692,"avatar_url":"https://avatars.githubusercontent.com/u/1414692?v=3","gravatar_id":"","url":"https://api.github.com/users/jbavari","html_url":"https://github.com/jbavari","followers_url":"https://api.github.com/users/jbavari/followers","following_url":"https://api.github.com/users/jbavari/following{/other_user}","gists_url":"https://api.github.com/users/jbavari/gists{/gist_id}","starred_url":"https://api.github.com/users/jbavari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbavari/subscriptions","organizations_url":"https://api.github.com/users/jbavari/orgs","repos_url":"https://api.github.com/users/jbavari/repos","events_url":"https://api.github.com/users/jbavari/events{/privacy}","received_events_url":"https://api.github.com/users/jbavari/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T16:46:19Z","updated_at":"2015-06-29T16:46:19Z","body":"Closing. This is a duplicate of #441. It will be fixed in the next version of Cordova-android. \r\n\r\nFollow the official [cordova issue](https://issues.apache.org/jira/browse/CB-9080)."}}