• 【Android Studio】Frameworks detected: Android framework is detected in the project Configure


    刚开始在 Mac 上用 Android Studio, 打开第一个项目就遇到了问题,描述如下:

    上午9:17:37 Frameworks detected: Android framework is detected in the project Configure
    上午9:26:34 FileNotFoundException: /Users/air/Library/Caches/AndroidStudio1.4/caches/names.dat.keystream.len (No such file or directory)
    上午9:29:30 FileNotFoundException: /Users/air/Library/Caches/AndroidStudio1.4/caches/records.dat.len (No such file or directory)
    上午9:30:55 FileNotFoundException: /Users/air/Library/Caches/AndroidStudio1.4/caches/contentHashes.dat.keystream.len (No such file or directory)
    上午9:32:51 FileNotFoundException: /Users/air/Library/Caches/AndroidStudio1.4/caches/contentHashes.dat.keystream.len (No such file or directory)
    上午9:33:46 FileNotFoundException: /Users/air/Library/Caches/AndroidStudio1.4/caches/names.dat.keystream.len (No such file or directory)
    上午9:34:03 FileNotFoundException: /Users/air/Library/Caches/AndroidStudio1.4/caches/contentHashes.dat.keystream.len (No such file or directory)
    上午9:41:01 FileNotFoundException: /Users/air/Library/Caches/AndroidStudio1.4/caches/records.dat.len (No such file or directory)
    上午9:42:08 FileNotFoundException: /Users/air/Library/Caches/AndroidStudio1.4/index/bytecodeanalysis/bytecodeAnalysis.len (No such file or directory)
    上午9:43:12 FileNotFoundException: /Users/air/Library/Caches/AndroidStudio1.4/caches/names.dat.keystream.len (No such file or directory)
    上午9:43:48 FileNotFoundException: /Users/air/Library/Caches/AndroidStudio1.4/caches/contentHashes.dat.keystream.len (No such file or directory)
    上午9:44:34 FileNotFoundException: /Users/air/Library/Caches/AndroidStudio1.4/caches/contentHashes.dat.keystream.len (No such file or directory)
    上午9:45:00 FileNotFoundException: /Users/air/Library/Caches/AndroidStudio1.4/caches/names.dat.keystream.len (No such file or directory)
    上午9:45:10 FileNotFoundException: /Users/air/Library/Caches/AndroidStudio1.4/caches/contentHashes.dat.keystream.len (No such file or directory)
    上午9:46:06 FileNotFoundException: /Users/air/Library/Caches/AndroidStudio1.4/caches/contentHashes.dat.keystream.len (No such file or directory)

    如下图所示:

    原因:jdk 没有配置环境变量。

    解决方法:Mac jdk 环境变量配置

  • 相关阅读:
    mvp在flutter中的应用
    Flutter 网络请求库http
    Flutter Dart中的异步
    阿里云 RDS 数据库又发 CPU 近 100% 的“芯脏病”团队
    上周热点回顾(10.14-10.20) 团队
    云上的芯脏病:奇怪的阿里云 RDS 数据库突发 CPU 近 100% 问题团队
    【故障公告】docker swarm 集群问题引发的故障团队
    上周热点回顾(10.7-10.13)团队
    上周热点回顾(9.30-10.6) 团队
    上周热点回顾(9.23-9.29) 团队
  • 原文地址:https://www.cnblogs.com/jaxer/p/4870774.html
Copyright © 2020-2023  润新知