我使用 Android Studio 创建了我的第一个项目,但出现以下错误:
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
[ 183260] WARN - ution.rmi.RemoteProcessSupport -
[ 183267] WARN - ution.rmi.RemoteProcessSupport - FAILURE: Build failed with an exception.
[ 183267] WARN - ution.rmi.RemoteProcessSupport -
[ 183268] WARN - ution.rmi.RemoteProcessSupport - * What went wrong:
[ 183275] WARN - ution.rmi.RemoteProcessSupport - Failed to notify model configuration listener.
[ 183276] WARN - ution.rmi.RemoteProcessSupport - > No builders are available to build a model of type 'com.android.build.gradle.model.AndroidProject'.
[ 183279] WARN - ution.rmi.RemoteProcessSupport -
[ 183279] WARN - ution.rmi.RemoteProcessSupport - * Try:
[ 183279] WARN - ution.rmi.RemoteProcessSupport - Run with
[ 183281] WARN - ution.rmi.RemoteProcessSupport - --stacktrace option to get the stack trace. Run with
[ 183282] WARN - ution.rmi.RemoteProcessSupport - --info
[ 183286] WARN - ution.rmi.RemoteProcessSupport - or --debug
[ 183294] WARN - ution.rmi.RemoteProcessSupport - option to get more log output.
在 IDE 中,我得到了“setContentView(R.layout.Main); Main 无法解析或不是字段”
而且我没有找到“R”类。
我通过谷歌查找,我没有找到任何解决我的问题的解决方案。
我正在使用 Ubuntu 13.04,64 位。