
方法:
1. File > Project Structure (Command + 😉 > Under Project Settings/Project > Set Project SDK to Android API 29 Platform(File>Project Structure(Command +;)>在項目設置/項目下>將Project SDK設置為Android API 29 Platform)


2. There should be a notification stating there is an invalid item in the dependencies list under Project Structure/Problems. If there is, go to Project Structure > Under Project Settings/Modules > select app_name_android > Dependencies tab > choose the latest "Android API 29 Platform" in the Module SDK box.(應該有一個通知,指出依賴項列表中“項目結構/問題”下的項目無效。如果存在,請轉到“項目結構”>“項目設置/模塊”下,選擇“ app_name_android”>“依賴項”選項卡,然后在“模塊SDK”框中選擇最新的“ Android API 29平台”)



3.Update GradleException() to FileNotFoundException() under android/app/build_gradle since it's not supported in the Java version of Android API 29That's it! You should notice the Android API 29 Platform is now visible under External Libraries.(將GradleException()更新為android / app / build_gradle下的FileNotFoundException(),因為Java版本的Java API不支持29而已!您應該注意到,Android API 29平台現在在“外部庫”下可見。)

