Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问一下build出错的问题? #13

Closed
yourenA opened this issue Apr 12, 2017 · 5 comments
Closed

请问一下build出错的问题? #13

yourenA opened this issue Apr 12, 2017 · 5 comments

Comments

@yourenA
Copy link

yourenA commented Apr 12, 2017

build的过程中报下面的错误
...
:ele-react-native-location:compileReleaseJavaWithJavac
:ele-react-native-location:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
ע: E:\react-native\ReactNativePlatform\node_modules\ele-react-native-location\android\src\main\java\me\ele\dodo\AMapLocationReactModule.javaʹ▒û򸲸▒▒▒▒ѹ▒ʱ▒▒ API▒▒
ע:
...

然后在最后报这个错误,对Java不了解,使引入包的错误吗?
:app:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
E:\react-native\ReactNativePlatform\android\app\src\main\java\com\reactnativeplatform\MainApplication.java:12: 错误: 找 不到符号
import me.ele.dodo.AMapLocationRecatPackage;
^
符号: 类 AMapLocationRecatPackage
位置: 程序包 me.ele.dodo
E:\react-native\ReactNativePlatform\android\app\src\main\java\com\reactnativeplatform\MainApplication.java:31: 错误: 找 不到符号
new AMapLocationReactPackage()
^
符号: 类 AMapLocationReactPackage
2 个错误
:app:compileDebugJavaWithJavac FAILED

FAILURE: Build failed with an exception.

下面这段错误第一个箭头是指向dodo后面的点,第二个箭头是指向AMapLocationReactPackage第一个字母A

@yourenA
Copy link
Author

yourenA commented Apr 12, 2017

我的错,在import的时候AMapLocationReactPackage打错了

@KevinOfNeu
Copy link
Contributor

@yourenA happy hacking

@yourenA
Copy link
Author

yourenA commented Apr 12, 2017

请问一下你对react-native-smart-amap了解吗?我这也有一个issue是关于build出错的,可以帮我看一下吗?看一下导入包的地址是不是这个 import com.reactnativecomponent.amaplocation.RCTAMapPackage;
react-native-component/react-native-smart-amap#14

@KevinOfNeu
Copy link
Contributor

@yourenA 还是问一下 react-native-smart-amap 作者吧

@yourenA
Copy link
Author

yourenA commented Apr 12, 2017

好的,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants