0
Android 서비스로 구현 된 외부 프로젝트를 사용하고 싶습니다. 이 서비스는 매니페스트에 추가하여 사용됩니다다른 프로젝트에서 Android 서비스를 사용하는 방법은 무엇입니까?
<service android:name="com.my.ext.service"/>
하지만 addthis 라인, 나는 오류 얻을 때 :
<com.my.ext.service
android:id="@+id/myview"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
:
Unresolved class 'TimerService' less... (⌘F1)
Validates resource references inside Android XML files.
을 그리고 난 내 프로젝트에 레이아웃을 추가 할 때
나는 오류를 얻을
the class could not be found
외부 서비스를 Android Studio에 추가 프로젝트로 가져 왔습니다. 다른 프로젝트를이 프로젝트의 서비스로 사용하려면 어떻게해야합니까?