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 前端开发
【报错】unhandled error during execution of watcher callback
JavaScript错误`unhandled error during execution of watcher callback`在Echarts图表渲染时出现,通常是因数据未获取到就尝试渲染导致。解决方法是在渲染前添加非空判断,如`if(value){开始渲染数据}`或`if(value !== undefined){开始渲染数据}`,确保数据加载完成后再执行渲染。
|
5月前
Failed to execute script ‘xxx‘ due to unhandled exception:No module named ‘ctypes‘
Failed to execute script ‘xxx‘ due to unhandled exception:No module named ‘ctypes‘
126 0
|
4月前
|
JavaScript 开发者
vue解决报错Unable to preventDefault inside passive event listener invocation.
vue解决报错Unable to preventDefault inside passive event listener invocation.
66 0
|
8月前
|
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
|
8月前
throw new MongooseError(‘Mongoose.prototype.connect() no longer accepts a callback‘);
throw new MongooseError(‘Mongoose.prototype.connect() no longer accepts a callback‘);
77 1
|
10月前
|
关系型数据库 MySQL C++
Error:error C2601: ‘b‘ : local function definitions are illegal error C2063: ‘b‘ : not a function
Error:error C2601: ‘b‘ : local function definitions are illegal error C2063: ‘b‘ : not a function
120 0
|
JavaScript
[Vue warn]: Error in mounted hook: “TypeError: handler.call is not a function“
[Vue warn]: Error in mounted hook: “TypeError: handler.call is not a function“
207 0
[Vue warn]: Error in mounted hook: “TypeError: handler.call is not a function“
|
前端开发
【已解决】Expected the Promise rejection reason to be an Error
Expected the Promise rejection reason to be an Error
235 0
|
资源调度 Android开发
Uncaught Error: null is not an object(evaluating 'RNFreshchatSdk.FilterType')
Uncaught Error: null is not an object(evaluating 'RNFreshchatSdk.FilterType')
207 0