美文网首页
mac m1使用android studio开发flutter(

mac m1使用android studio开发flutter(

作者: 壹明_c63f | 来源:发表于2021-04-14 11:30 被阅读0次

    快捷创建应用后,可以在chrome上运行。连接真机调试built apk时报错。
    Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'
    在这个报错上面还报了一个错
    Warning: License for package Android SDK Build-Tools 29.0.2 not accepted.
    使用网友的教程安装sdk后,以上错误都没再出现(以下是网友博客链接)
    https://blog.csdn.net/qq_34344752/article/details/104974801
    插上华为真机调试又遇到以下问题
    adb: failed to install app-debug.apk: Failure [INSTALL_FAILED_ABORTED: User rejected permissions]
    从开发者模式的设置中,关闭,安装需要用户确认的选项。
    问题解决!
    flutter在手机上成功运行!

    相关文章

      网友评论

          本文标题:mac m1使用android studio开发flutter(

          本文链接:https://www.haomeiwen.com/subject/rdyklltx.html