Android Manifest파일에 <service>코드 추가했는데 오류가 뜹니다ㅠㅠ
조회수 594회
블루투스로 센서 연결해서 센서 데이터를 화면에 보여주는 어플을 만들고 있습니다. 센서 제작 회사에서 제공하는 API 를 사용하려고 하는데 android manifest파일에 service코드를 추가했는데 package를 찾을 수 없다고 뜹니다. 오류 해결 방법 좀 알려주세요..ㅠㅠㅠ
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.mbientlab.metawear.android.myapplication">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.MyApplication">
<service android:name="com.mbientlab.metawear.android.BtleService" />
<activity
android:name=".MainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
service android:name="com.mbientlab.metawear.android.BtleService" /> 이 부분을 추가했는데
Class referenced in the manifest, com.mbientlab.metawear.android.BtleService, was not found in the project or the libraries Unresolved package 'mbientlab' 이런 오류가 뜨고
problems에 Unresolved package 'mbientlab', Unresolved package 'metawear', Unresolved package 'android', Unresolved class 'BtleService' 이런 식으로 뜹니다 도와주세요ㅠㅠㅠ
-
(•́ ✖ •̀)
알 수 없는 사용자
댓글 입력