本帖最后由 knightzj 于 2014-08-06 22:22:02 编辑

解决方案 »

  1.   

    那android.permission.CAMERA权限在哪呢?
    有没有大神解答啊
      

  2.   

    这是我的手机的,, 有camera的
    This XML file does not appear to have any style information associated with it. The document tree is shown below.
    <!--
     Copyright (C) 2008 The Android Open Source Project     Licensed under the Apache License, Version 2.0 (the "License");
         you may not use this file except in compliance with the License.
         You may obtain a copy of the License at
      
              http://www.apache.org/licenses/LICENSE-2.0
      
         Unless required by applicable law or agreed to in writing, software
         distributed under the License is distributed on an "AS IS" BASIS,
         WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
         See the License for the specific language governing permissions and
         limitations under the License.
    -->
    <!--
     This file is used to define the mappings between lower-level system
         user and group IDs and the higher-level permission names managed
         by the platform.     Be VERY careful when editing this file!  Mistakes made here can open
         big security holes.
    -->
    <permissions>
    <!--
     ================================================================== 
    -->
    <!--
     ================================================================== 
    -->
    <!--
     ================================================================== 
    -->
    <!--
     The following tags are associating low-level group IDs with
             permission names.  By specifying such a mapping, you are saying
             that any application process granted the given permission will
             also be running with the given group ID attached to its process,
             so it can perform any filesystem (read, write, execute) operations
             allowed for that group. 
    -->
    <permission name="android.permission.BLUETOOTH_ADMIN">
    <group gid="net_bt_admin"/>
    </permission>
    <permission name="android.permission.BLUETOOTH">
    <group gid="net_bt"/>
    </permission>
    <permission name="android.permission.INTERNET">
    <group gid="inet"/>
    </permission>
    <permission name="android.permission.CAMERA">
    <group gid="camera"/>
    </permission>
    <permission name="android.permission.READ_LOGS">
    <group gid="log"/>
    </permission>
    <permission name="android.permission.READ_EXTERNAL_STORAGE">
    <group gid="sdcard_r"/>
    </permission>
    <permission name="android.permission.WRITE_EXTERNAL_STORAGE">
    <group gid="sdcard_rw"/>
    </permission>
    <permission name="android.permission.WRITE_MEDIA_STORAGE">
    <group gid="media_rw"/>
    </permission>
    <permission name="android.permission.ACCESS_MTP">
    <group gid="mtp"/>
    </permission>
    <!--
     LGE_CHANGE_S, [G1_Player][[email protected]], 2012-01-16, For DivX DRM permission {  
    -->
    <permission name="android.permission.DIVXDRM">
    <group gid="divxdrm"/>
    </permission>
    <!--
     LGE_CHANGE_E, [G1_Player][[email protected]], 2012-01-16, For DivX DRM permission }  
    -->
    <permission name="android.permission.NET_ADMIN">
    <group gid="net_admin"/>
    </permission>
    <!--
     LGE: LGBT_COMMON_LGTEST_DUTMODE_APP, [[email protected] 20120113] Add NET_RAW permission - Enable BT DUT mode through LG system server 
    -->
    <permission name="android.permission.NET_RAW">
    <group gid="net_raw"/>
    </permission>
    <!--
     LGE: LGBT_COMMON_LGTEST_DUTMODE_APP, [[email protected] 20120118] Add BLUETOOTH_GROUP permission - Enable BT DUT mode through LG system server 
    -->
    <permission name="android.permission.BLUETOOTH_GROUP">
    <group gid="bluetooth"/>
    </permission>
    <!--
     The group that /cache belongs to, linked to the permission
             set on the applications that can access /cache 
    -->