Learn Android for Free,issues for developers, mobengineers website provide complete solutions for developers issues posts.It also provides online training for android development

Tuesday, November 14, 2017

Error: spawn EACCES ionic cordova add plugin issue

Failed to install 'onesignal-cordova-plugin': Error: spawn EACCES
    at exports._errnoException (util.js:1018:11)
    at ChildProcess.spawn (internal/child_process.js:319:11)
    at Object.exports.spawn (child_process.js:378:9)
    at Object.exports.spawn (/Users/srinivas/Documents/Educational/version2/Pregnancy/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:134:31)
    at /Users/srinivas/Documents/Educational/version2/Pregnancy/platforms/android/cordova/lib/builders/GradleBuilder.js:245:27
    at _fulfilled (/Users/srinivas/Documents/Educational/version2/Pregnancy/platforms/android/cordova/node_modules/q/q.js:854:54)
    at self.promiseDispatch.done (/Users/srinivas/Documents/Educational/version2/Pregnancy/platforms/android/cordova/node_modules/q/q.js:883:30)
    at Promise.promise.promiseDispatch (/Users/srinivas/Documents/Educational/version2/Pregnancy/platforms/android/cordova/node_modules/q/q.js:816:13)
    at /Users/srinivas/Documents/Educational/version2/Pregnancy/platforms/android/cordova/node_modules/q/q.js:877:14
    at runSingle (/Users/srinivas/Documents/Educational/version2/Pregnancy/platforms/android/cordova/node_modules/q/q.js:137:13)

Error: spawn EACCES

Solution :

Remove the platform Android and reinstall

ionic cordova platform rm android

add android again //6.1.x has a bug
ionic platform add android@6.2.2 

Saturday, May 6, 2017


These App Standard Terms and Conditions written on this app playstore shall manage your contacts use of this app. These Terms will be applied grambling fully and affect to your use of this App. By using this app, you agreed to accept all terms and conditions written in here. You must not use this Application if you disagree with any of these app Standard Terms and Conditions.

Tuesday, March 14, 2017

Error:Error converting bytecode to dex: Cauase: Dex cannot parse version 52 byte code. This is caused by library dependencies that have been compiled using Java 8 or above. If you are using the 'java' gradle plugin in a library submodule add targetCompatibility = '1.7' sourceCompatibility = '1.7' to that submodule's build.gradle file.

Error:Execution failed for task ':AndroidAppDemo:transformClassesWithPreJackPackagedLibrariesForDebug'.
> com.android.build.api.transform.TransformException:com.android.jack.api.ConfigNotSupportedException: Jack requires Build Tools 24.0.0 or later

Use java 1.8 and latest build tools and compile with  jack option

compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
 defaultConfig {
jackOptions {
Jack is a new tool that compile java source into dex byte code. 
Its completely open source.

Thursday, January 12, 2017

CORS is if your trying to access from one domain - another domain.

XMLHttpRequest cannot load https://www.test.com;.
 No 'Access-Control-Allow-Origin' header is present
 on the requested resource. Origin ''
 is therefore not allowed access.
CORS is if your trying to access from one domain  - another domain.
Try withJSONP. JSONP should work , because it  uses the GET method.
Try this
var url = "https://test.com";
    method: 'JSONP',
    url: url
success(function(status) {
error(function(status) {

Tuesday, December 20, 2016

Error while launching the activity Android Studio

Hi ,
I am working with android studio with multiple applications, i got an issue after changing the package name and running the application through android studio. I could not able to run.....

I restarted the studio, but not resolved.

I followed these steps.

1. First remove the directory
~/.gradle/caches/ I am using mac, so open terminal,

rm -rf ~/.gradle/caches/ - It removes

2. Click on sync project with gradle files icon in android studio.

3. Run the project again.

It works for me.

Sunday, November 13, 2016

ionic.bundle.js:26794 TypeError: $q.defer is not a function

ionic.bundle.js:26794 TypeError: $q.defer is not a function

var defer = $q.defer();

Tuesday, November 8, 2016

1. Which framework is best for mobile hybrid application development
ionic 2

Score =
Correct answers:

20% off

Online Training

Your Name :
Your Email: (required)
Your Message: (required)

NDTV Gadgets360

Powered by Blogger.

Recent Posts

Find Us On Facebook

Popular Posts