Previously developed applications worked well before android4.4. The result of upgrading to android5.0 will be reported Com.ut.permission.DEVICE_STATE this permission issue. This problem is probably caused by the Declaration of authority and the manner in which it is acquired, and it can be avoided by notice. </span>
<uses-permission android:name= "Com.ut.permission.DEVICE_STATE" ></uses-permission>
This permission should be used rather than declared
<permissionandroid:name= "Com.ut.permission.DEVICE_STATE" ></permission>
Claim permissions can only have one app claim, and if more than one app declares a permission, it must be signed as well
Demo1 's androidmanifest.xml in a statement
<permissionandroid:protectionlevel= "Normal" android:name= "Com.tutor.permission.VIEW" > </permission > <activityandroid:name= ". Viewactivity " android:label=" Custom action with permission " android:permission=" Com.tutor.permission.VIEW " > <intent-filter> <actionandroid:name= "Android.tutor.action.VIEW"/> < Categoryandroid:name= "Android.intent.category.DEFAULT"/> </intent-filter> </activity>
Demo2 references in the Androidmanifest.xml
<uses-permissionandroid:name= "Com.tutor.permission.VIEW" ></uses-permission>
This form is not a problem in android4.4 and android5.0.
If referenced in Demo2 's androidmanifest.xml:
<permissionandroid:protectionlevel= "Normal" android:name= "Com.tutor.permission.VIEW" ></permission> <uses-permissionandroid:name= "Com.tutor.permission.VIEW" ></uses-permission>
There is a problem with this writing, more statements;
This is still not a problem in android4.4.
But in android5.0, it's not going to fit.
android5.0 Error "Com.ut.permission.DEVICE_STATE" causes the application to not install