【发布时间】:2019-04-06 21:00:20
【问题描述】:
我在尝试在 android studio 中执行应用程序时收到此错误“找不到符号导入 com.google.android.gms.R”, 应用在eclipse中开发并导入android studio。
Error details:
symbol: class R
location: package com.google.android.gms
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
:app:compileDebugJavaWithJavac FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
【问题讨论】:
-
您好,欢迎来到 Stack Overflow :)。您可能想更详细地说明您的问题:您能发布给您带来麻烦的代码吗?请看这里:How do I ask a good question? 和这里:How to create a Minimal, Complete, and Verifiable example。
标签: android eclipse mobile-application