[英]Error while building aosp launcher in android studio
Task :IconLoader:compileDebugJavaWithJavac FAILED
/home/vineel/Desktop/Launcher3/iconloaderlib/src_full_lib/com/android/launcher3/icons/SimpleIconCache.java:69: error: cannot find symbol
int index = mUserSerialMap.indexOfKey(user.getIdentifier());
^
symbol: method getIdentifier()
location: variable user of type UserHandle
/home/vineel/Desktop/Launcher3/iconloaderlib/src_full_lib/com/android/launcher3/icons/SimpleIconCache.java:74: error: cannot find symbol
mUserSerialMap.put(user.getIdentifier(), serial);
^
symbol: method getIdentifier()
location: variable user of type UserHandle
/home/vineel/Desktop/Launcher3/iconloaderlib/src_full_lib/com/android/launcher3/icons/SimpleIconCache.java:87: error: cannot find symbol
return info.isInstantApp();
^
symbol: method isInstantApp()
location: variable info of type ApplicationInfo
3 errors
在 android 中構建 aosp 啟動器時出現此錯誤我已嘗試刪除導致錯誤的行但出現此新錯誤
Directory '/home/vineel/Desktop/Launcher3/build/extracted-include-protos/aosp' specified for property '$9' does not exist.
@vineet 你是如何解決這個問題的? 你能獨立構建它 Gradle 嗎?
@CommonsWare,我了解..但是,您能否解釋一下為什么啟動器與 gradle 兼容? 我的意思是其他一切都在 Gradle 構建文件中正確設置,以便在沒有 AOSP 的情況下獨立工作
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.