![]() ![]() Here's the relevant code from onKeyUp in ReactActivity.java: if (ke圜ode = KeyEvent. Create a directory for JDK sudo mkdir -p /usr/local/java Download JDK Go. Download and install Oracle JDK 8 if needed. If you're using the new emulator that comes with Android Studio 2.0, the keyboard shortcut for the menu key is now Cmd+M, just like in Genymotion.Īlternatively, you can always send a menu button press using adb in a terminal: adb shell input keyevent KEYCODE_MENUĪlso note that the menu button shortcut isn't a strict requirement, it's just the default behavior provided by the ReactActivity Java class (which is used by default if you created your project with react-native init). For me, I just download Android SDK Command-line Tools : Android Studio -> Preferences -> search for sdk -> Click SDK Tools. React Native requires a recent version of the Java SE Development Kit (JDK). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |