-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
android build apk error on master #5304
Comments
Hey nowaits, thanks for reporting this issue! React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. There are just too many issues for us to manage properly.
|
Can you help us understand how to reproduce this issue, and what steps you've already taken to attempt to resolve it? |
i set minifyEnabled in gradle file on release build mode. |
i set minifyEnabled true in gradle file on release build mode. |
i set minifyEnabled in gradle file on release build type 发自我的小米手机在 Adam Miskiewicz [email protected],2016年1月15日 上午4:02写道:Can you help us understand how to reproduce this issue, and what steps you've already taken to resolve it? —Reply to this email directly or view it on GitHub. |
I have the same issue after upgrading to RN 0.19 on Android. Changing the value of My native modules other than the Google Maps one still work well... not sure why this one doesn't, but it's the only one that defines a UI component. The Example method: @SuppressWarnings("unused")
@ReactProp(name = "cameraPosition")
public void setCameraPosition(GoogleMapView view, ReadableMap options) {
Log.d(REACT_CLASS, "cameraPosition set");
view.setCameraPosition(options);
} Logs:
|
I upgrade react-native to 0.19.0 |
Same for me, the minify process breaks the prod build |
Hey! The error you're seeing is because the annotation processor is not ran on Gradle builds (as it's not yet supported there), however this means that it will just fall back to the old reflection-based approach. Do you have a log of the actual crash with stack trace? |
I don't have any crashes so it's hard to pinpoint the issue, but my custom UI component does not receive calls from the javascript side. It might be a completely separate issue from what the others are experiencing with the crashes... |
It crashes on the generated default project from the cli. Here is a dump:
|
I'm having the exact same issue |
We have a good discussion going on in #5655 |
@lexs |
@arunabha the import changed for @ReactProp, you now have to import |
Looks like this has been fixed in #5304 and answered here, closing. Sorry about the breakage. |
I'm currently using react-native v 0.40 and am getting the above documented issue. |
Same than Patsimon, I ran into that issue when running on react-native 0.40 . I tried a few of the bug solutions but nothing really worked.
This only shows on the android project, the ios one works. Has anyone else experienced that and has an idea/solution ? |
Getting this on 0.37. UPDATE: My issue was just a config issue. #12013 |
Same on RN 0.40 |
@booboothefool : is this something really specific to you or would you mind sharing what you did/had ? |
@Wirg I've experienced the same |
I have a found a solution to the problem of finding a mobile cross platform native open source framework that is stable - Nativescript :) |
I had the same issue, and found out the problem: in my JS files I was using |
01-14 17:58:43.349 27580-27635/com.mmww.erxi W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.image.ReactImageManager
01-14 17:58:43.439 27580-27635/com.mmww.erxi W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.progressbar.ReactProgressBarViewManager
01-14 17:58:43.439 27580-27635/com.mmww.erxi W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.progressbar.ProgressBarShadowNode
01-14 17:58:43.439 27580-27635/com.mmww.erxi W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactRawTextManager
01-14 17:58:43.439 27580-27635/com.mmww.erxi W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactTextShadowNode
01-14 17:58:43.439 27580-27635/com.mmww.erxi W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.recyclerview.RecyclerViewBackedScrollViewManager
01-14 17:58:43.469 27580-27635/com.mmww.erxi W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.scroll.ReactScrollViewManager
01-14 17:58:43.469 27580-27635/com.mmww.erxi W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager
01-14 17:58:43.469 27580-27635/com.mmww.erxi W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager$ReactSwitchShadowNode
01-14 17:58:43.469 27580-27635/com.mmww.erxi W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.textinput.ReactTextInputManager
01-14 17:58:43.479 27580-27635/com.mmww.erxi W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.textinput.ReactTextInputShadowNode
01-14 17:58:43.479 27580-27635/com.mmww.erxi W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactTextViewManager
01-14 17:58:43.489 27580-27635/com.mmww.erxi W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.toolbar.ReactToolbarManager
01-14 17:58:43.489 27580-27635/com.mmww.erxi W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.view.ReactViewManager
01-14 17:58:43.499 27580-27635/com.mmww.erxi W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.viewpager.ReactViewPagerManager
01-14 17:58:43.499 27580-27635/com.mmww.erxi W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactTextInlineImageViewManager
01-14 17:58:43.499 27580-27635/com.mmww.erxi W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactTextInlineImageShadowNode
01-14 17:58:43.509 27580-27635/com.mmww.erxi W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactVirtualTextViewManager
01-14 17:58:43.509 27580-27635/com.mmww.erxi W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.swiperefresh.SwipeRefreshLayoutManager
01-14 17:58:43.519 27580-27635/com.mmww.erxi W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.webview.ReactWebViewManager
The text was updated successfully, but these errors were encountered: