Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

phonegap develop in android studio ,config.xml error uri is not registered

I've new a project,and follow step:

platforms/android/CordovaLib/src/com/squareup copy_to app/src/main/java/com platforms/android/CordovaLib/src/org copy_to app/src/main/java platforms/android/assets copy_to app/src/main platforms/android/res/config.xml copy_to app/src/main/res

everything is OK,but in config.xml,the following Uri is burn: Uri is not registered

at last, app run success but tips: error:error initializing Cordova: class not found

like image 614
haoxian Avatar asked Feb 19 '26 06:02

haoxian


1 Answers

To remove the Uri is not registered message you can go to

Android Studio -> Preferences -> Languages & Frameworks -> Schemas & DTDs

Then add http://www.w3.org/ns/widgets to Ignored Schemas and DTDs

like image 92
jcesarmobile Avatar answered Feb 20 '26 20:02

jcesarmobile



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!