i made project in ionic2. login google provider. followed tutorial.
the application works fine in computer developed. cloned project in computer work in team. , ran these commands.
npm install
ionic serve
ionic platform add android
ionic run android
basically didn't modify in project. want run it. project builds successfully, when try log-in error in console:
04-05 15:39:18.971 17869-17869/com.company.ionic.carpool d/cordovaactivity: resumed activity. 04-05 15:39:18.987 17869-17869/com.company.ionic.carpool d/systemwebchromeclient: file:///android_asset/www/build/main.js: line 79205 : exception: uncaught (in promise): 12501 04-05 15:39:18.987 17869-17869/com.company.ionic.carpool i/chromium: [info:console(79205)] "exception: uncaught (in promise): 12501", source: file:///android_asset/www/build/main.js (79205) 04-05 15:39:18.987 17869-17869/com.company.ionic.carpool d/systemwebchromeclient: file:///android_asset/www/build/main.js: line 79210 : original stacktrace: 04-05 15:39:18.987 17869-17869/com.company.ionic.carpool i/chromium: [info:console(79210)] "original stacktrace:", source: file:///android_asset/www/build/main.js (79210) 04-05 15:39:18.992 17869-17869/com.company.ionic.carpool d/systemwebchromeclient: file:///android_asset/www/build/main.js: line 79211 : error: uncaught (in promise): 12501 @ new error (native) @ error.v (file:///android_asset/www/build/polyfills.js:3:4864) @ s (file:///android_asset/www/build/polyfills.js:3:4289) @ s (file:///android_asset/www/build/polyfills.js:3:4112) @ file:///android_asset/www/build/polyfills.js:3:4652 @ t.invoketask (file:///android_asset/www/build/polyfills.js:3:10284) @ object.inner.inner.fork.oninvoketask (file:///android_asset/www/build/main.js:38157:37) @ t.invoketask (file:///android_asset/www/build/polyfills.js:3:10258) @ e.runtask (file:///android_asset/www/build/polyfills.js:3:7637) @ (file:///android_asset/www/build/polyfills.js:3:3707)
i have checked integrity of packages , dependencies in project. not able fix issue. have idea why happening?
you have follow below steps hence have changed development environment.
step 1: remove platform
ionic platform rm android
step 2: add platform
ionic platform add android
step 3: build
ionic build android
step 4: run
ionic run android --device
Comments
Post a Comment