小编Dip*_*bey的帖子

反应原生 | 无法安装该应用程序。请使用 SDK Manager 接受所有必要的 SDK 许可

我试图开始运行我的 React Native 项目。但是我在运行react-native run-android命令时收到此错误。我尝试了一堆我在网上找到的解决方案,但都没有奏效。


info Starting JS server...
info Installing the app...

> Configure project :app
Checking the license for package Android SDK Build-Tools 28.0.3 in /home/dipanshuchaubey/Android/Sdk/licenses
Warning: License for package Android SDK Build-Tools 28.0.3 not accepted.
Checking the license for package Android SDK Platform 28 in /home/dipanshuchaubey/Android/Sdk/licenses
Warning: License for package Android SDK Platform 28 not accepted.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Failed to …
Run Code Online (Sandbox Code Playgroud)

android android-studio react-native

36
推荐指数
3
解决办法
3万
查看次数

标签 统计

android ×1

android-studio ×1

react-native ×1