javascript - ERROR:Element type "uses-permission" must be followed by either attribute specifications, ">" or "/>" -
i have been trying convert web page app.but every time try run in device attached laptop usb, these errors show up.
error:element type "uses-permission" must followed either attribute specifications, ">" or "/>".
and
error:cannot read packagename c:\users\mukesh\androidstudioprojects\new\app\src\main\androidmanifest.xml
[1]: http://i.stack.imgur.com/3lxbs.jpg <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.garvit.anew"> <uses-permission android:name="android.permission.internet"s /> <application android:allowbackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsrtl="true" android:theme="@style/apptheme"> <activity android:name=".firstnew" android:label="@string/app_name" android:theme="@style/apptheme.noactionbar"> <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity> </application>
<uses-permission android:name="android.permission.internet"s />
so have element type: uses-permission
then attribute specification: android:name="android.permission.internet"
and not attribute specification: s
… error , should removed.
Comments
Post a Comment