2015-07-28 16 views
5

Cordova'yı kullanarak bir android uygulaması oluşturmaya çalışıyorum. Ancak, projeyi oluşturduktan sonra, platform android ekledim ve Android Studio'ya aktardım. Config.xml ile bazı problemlerle karşılaştım. Hiçbir şey değiştirmedim ama hala bu hatayı alıyorum.Cordova default config.xml URI kayıtlı değil

URI'nin xmlns: cdv için kayıtlı olmadığını söylüyor.

tüm xml dosyası

şudur:

<?xml version='1.0' encoding='utf-8'?> 
<widget id="xxx.xxx.xxx" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> 
    <preference name="loglevel" value="DEBUG" /> 
    <feature name="Whitelist"> 
     <param name="android-package" value="org.apache.cordova.whitelist.WhitelistPlugin" /> 
     <param name="onload" value="true" /> 
    </feature> 
    <allow-intent href="market:*" /> 
    <name>xxxx</name> 
    <description> 
     A sample Apache Cordova application that responds to the deviceready event. 
    </description> 
    <author email="[email protected]" href="http://cordova.io"> 
     Apache Cordova Team 
    </author> 
    <content src="view/index.html" /> 
    <access origin="*" /> 
    <allow-intent href="http://*/*" /> 
    <allow-intent href="https://*/*" /> 
    <allow-intent href="tel:*" /> 
    <allow-intent href="sms:*" /> 
    <allow-intent href="mailto:*" /> 
    <allow-intent href="geo:*" /> 
    <feature name="SplashScreen"> 
     <param name="android-package" value="org.apache.cordova.splashscreen.SplashScreen" /> 
     <param name="onload" value="true" /> 
    </feature> 
    <platform name="android"> 
     <icon src="res/drawable-ldpi/icon.png" density="ldpi" /> 
     <icon src="res/android-mdpi/icon.png" density="mdpi" /> 
     <icon src="res/android-hdpi/icon.png" density="hdpi" /> 
     <icon src="res/android-xhdpi/icon.png" density="xhdpi" /> 
    </platform> 
</widget> 

cevap

0

Sadece bu hatayı görmezden. Görünüşe göre kötü bir etkisi yok. Uygulama hala çalışıyor olabilir.

İlgili konular