1、提醒壓制問(wèn)題
03-27 13:28:17.728 782-1511/? V/NotificationService: notifications are disabled by AppOps for com.chaoyang.cy
03-27 13:28:17.728 782-1511/? E/NotificationService: Suppressing toast from package com.chaoyang.cy by user request.
這個(gè)問(wèn)題是由于用戶關(guān)閉了app的提醒功能挖胃,若關(guān)閉窗悯,toast將不能正常顯示蕊玷。可到應(yīng)用通知中選擇開(kāi)啟即可
2、NDK版本兼容問(wèn)題
Error:Execution failed for task ':EaseUI:transformNativeLibsWithStripDebugSymbolForRelease'.> java.lang.NullPointerException (no error message)
修改編譯版本即可蛛勉。
3丘薛、緩存及時(shí)處理問(wèn)題
InvalidVirtualFileAccessException: Accessing invalid virtual file: file://D:/Scott/Android/Studio/MyApp/app/build/intermediates/classes/debug/com/scott/myapp/R$styleable.class; original:134487; found:-
重啟android studio,重新編譯項(xiàng)目
4嘉竟、gradle版本兼容問(wèn)題
Error:Failed to complete Gradle execution.
Cause:
The version of Gradle you are using (3.3) does not support the forTasks() method on BuildActionExecuter. Support for this is available in Gradle 3.5 and all later versions.
快捷鍵:Ctrl +Shift +Alt +s 彈出對(duì)話框,點(diǎn)擊項(xiàng)目Project 第一個(gè)中將gradle版本改為3.5