crosswalk/engine/XWalkWebViewEngine.java:50: error: cannot find symbol
We need to install all the platform tool for android API version 23. As shown in the image. Also, Need to install all the API Version 23.
Restart your node js command line tool and try again with : cordova build command, it will work now and download the dependent files.
I am getting above mentioned error when i add crosswalk to my project.here i am attaching screen-shot of error :-
i even tried with :- cordova plugin add https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview.git
but still getting same error as above.If i do not add crosswalk my application works fine, this issue only comes if i add crossWalk.
I even tried with ionic browser add email@example.com..but again no help from this too
Any help will be appreciated ,
Caused by: java.lang.SecurityException: “gps” location provider requires ACCESS_FINE_LOCATION permission
What is your targetSdkVersion?
On your apps that target Android 6.0 (API level 23) or higher, make sure to check for and request permissions at runtime. To determine if your app has been granted a permission, call the new checkSelfPermission() method. To request a permission, call the new requestPermissions() method. Even if your app is not targeting Android 6.0 (API level 23), you should test your app under the new permissions model. : From Android Site
In Android 6.0 Marshmallow, application will not be granted any permission at installation time. Instead, application has to ask user for a permission one-by-one at runtime only if application target level is 23.
For older version:
If the application's targetSdkVersion is set to less than 23. It will be assumed that application is not tested with new permission system yet and will switch to the same old behavior: user has to accept every single permission at install time and they will be all granted once installed !