Unable to resolve superclass of

简介: 因为用了和Google map相关的类,而Google map是单独的library,需要导入之后才能使用,因此在manifest.xml文件中的里边添加即可解决   此外                       加在标签外边

因为用了和Google map相关的类,而Google map是单独的library,需要导入之后才能使用,
因此在manifest.xml文件中的<application></application>里边添加
<uses-library android:name="com.google.android.maps"/>即可解决

 

此外

 

 <uses-sdk
        android:minSdkVersion="8"
        android:targetSdkVersion="18" />

 

    <!-- 设置对 Intent的访问权限-->
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

加在<application></application>标签外边

目录
相关文章
|
8月前
|
JavaScript
鬼火起~为什么报错[Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the
鬼火起~为什么报错[Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the
|
6月前
|
Java Maven
Cannot resolve method ‘mainName‘ in ‘FileUtil‘
Cannot resolve method ‘mainName‘ in ‘FileUtil‘
|
8月前
|
JavaScript 开发者
vue解决报错Unable to preventDefault inside passive event listener invocation.
vue解决报错Unable to preventDefault inside passive event listener invocation.
841 0
|
8月前
|
前端开发
使用ffmpeg-core的时候报错,解决Uncaught (in promise) ReferenceError: SharedArrayBuffer is not defined
使用ffmpeg-core的时候报错,解决Uncaught (in promise) ReferenceError: SharedArrayBuffer is not defined
|
Java Maven Android开发
成功解决FATAL ERROR in native method: JDWP on getting class status, jvmtiError=JVMTI_ERROR_WRONG_PHASE
成功解决FATAL ERROR in native method: JDWP on getting class status, jvmtiError=JVMTI_ERROR_WRONG_PHASE
|
前端开发
解决Uncaught (in promise) reason的问题
解决Uncaught (in promise) reason的问题
ReferenceError: document is not defined
ReferenceError: document is not defined
66 0
ReferenceError: _dirname is not defined
ReferenceError: _dirname is not defined
93 0
|
JavaScript CDN
Uncaught TypeError: Cannot redefine property: $router
Uncaught TypeError: Cannot redefine property: $router
234 0
ReferenceError: self is not defined
ReferenceError: self is not defined
536 0