We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
hello, i want to ask about the library. when i build using react-native run-android, i got some trouble like this
react-native run-android
`va:10: error: cannot find symbol import com.facebook.react.ReactApplication; ^ symbol: class ReactApplication location: package com.facebook.react C:\Users\Test\Documents\Kerja\bmh-mobile\node_modules\react-native-code-push\android\app\src\main\java\com\microsoft\codepush\react\CodePushNativeModule.java:22: error: cannot find symbol import com.facebook.react.modules.core.ChoreographerCompat; ^ symbol: class ChoreographerCompat location: package com.facebook.react.modules.core C:\Users\Test\Documents\Kerja\bmh-mobile\node_modules\react-native-code-push\android\app\src\main\java\com\microsoft\codepush\react\CodePushNativeModule.java:24: error: cannot find symbol import com.facebook.react.modules.core.ReactChoreographer; ^ symbol: class ReactChoreographer location: package com.facebook.react.modules.core C:\Users\Test\Documents\Kerja\bmh-mobile\node_modules\react-native-code-push\android\app\src\main\java\com\microsoft\codepush\react\CodePushNativeModule.java:105: error: cannot find symbol latestJSBundleLoader = JSBundleLoader.createAssetLoader(getReactApplicationContext(), latestJSBundleFile, false); ^ symbol: method createAssetLoader(ReactApplicationContext,String,boolean) location: class JSBundleLoader C:\Users\Test\Documents\Kerja\bmh-mobile\node_modules\react-native-code-push\android\app\src\main\java\com\microsoft\codepush\react\CodePushNativeModule.java:107: error: method createFileLoader in class JSBundleLoader cannot be applied to given types; latestJSBundleLoader = JSBundleLoader.createFileLoader(latestJSBundleFile); ^ required: Context,String found: String reason: actual and formal argument lists differ in length C:\Users\Test\Documents\Kerja\bmh-mobile\node_modules\react-native-code-push\android\app\src\main\java\com\microsoft\codepush\react\CodePushNativeModule.java:145: error: cannot find symbol instanceManager.recreateReactContextInBackground(); ^ symbol: method recreateReactContextInBackground() location: variable instanceManager of type ReactInstanceManager C:\Users\Test\Documents\Kerja\bmh-mobile\node_modules\react-native-code-push\android\app\src\main\java\com\microsoft\codepush\react\CodePushNativeModule.java:196: error: cannot find symbol ReactApplication reactApplication = (ReactApplication) currentActivity.getApplication(); ^ symbol: class ReactApplication location: class CodePushNativeModule C:\Users\Test\Documents\Kerja\bmh-mobile\node_modules\react-native-code-push\android\app\src\main\java\com\microsoft\codepush\react\CodePushNativeModule.java:196: error: cannot find symbol ReactApplication reactApplication = (ReactApplication) currentActivity.getApplication(); ^ symbol: class ReactApplication location: class CodePushNativeModule C:\Users\Test\Documents\Kerja\bmh-mobile\node_modules\react-native-code-push\android\app\src\main\java\com\microsoft\codepush\react\CodePushNativeModule.java:235: error: package ReactChoreographer does not exist ReactChoreographer.getInstance().postFrameCallback(ReactChoreographer.CallbackType.TIMERS_EVENTS, new ChoreographerCompat.FrameCallback() { ^ C:\Users\Test\Documents\Kerja\bmh-mobile\node_modules\react-native-code-push\android\app\src\main\java\com\microsoft\codepush\react\CodePushNativeModule.java:235: error: package ChoreographerCompat does not exist ReactChoreographer.getInstance().postFrameCallback(ReactChoreographer.CallbackType.TIMERS_EVENTS, new ChoreographerCompat.FrameCallback() { ^ C:\Users\Test\Documents\Kerja\bmh-mobile\node_modules\react-native-code-push\android\app\src\main\java\com\microsoft\codepush\react\CodePushNativeModule.java:235: error: cannot find symbol ReactChoreographer.getInstance().postFrameCallback(ReactChoreographer.CallbackType.TIMERS_EVENTS, new ChoreographerCompat.FrameCallback() { ^ symbol: variable ReactChoreographer Note: C:\Users\Test\Documents\Kerja\bmh-mobile\node_modules\react-native-code-push\android\app\src\main\java\com\microsoft\codepush\react\CodePushNativeModule.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 11 errors :react-native-code-push:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
Compilation failed; see the compiler error output for details.
i am using
"react-native": "0.52.0", "react-native-midtrans": "0.0.3",
The text was updated successfully, but these errors were encountered:
No branches or pull requests
hello, i want to ask about the library. when i build using
react-native run-android
, i got some trouble like this`va:10: error: cannot find symbol
import com.facebook.react.ReactApplication;
^
symbol: class ReactApplication
location: package com.facebook.react
C:\Users\Test\Documents\Kerja\bmh-mobile\node_modules\react-native-code-push\android\app\src\main\java\com\microsoft\codepush\react\CodePushNativeModule.java:22: error: cannot find symbol
import com.facebook.react.modules.core.ChoreographerCompat;
^
symbol: class ChoreographerCompat
location: package com.facebook.react.modules.core
C:\Users\Test\Documents\Kerja\bmh-mobile\node_modules\react-native-code-push\android\app\src\main\java\com\microsoft\codepush\react\CodePushNativeModule.java:24: error: cannot find symbol
import com.facebook.react.modules.core.ReactChoreographer;
^
symbol: class ReactChoreographer
location: package com.facebook.react.modules.core
C:\Users\Test\Documents\Kerja\bmh-mobile\node_modules\react-native-code-push\android\app\src\main\java\com\microsoft\codepush\react\CodePushNativeModule.java:105: error: cannot find symbol
latestJSBundleLoader = JSBundleLoader.createAssetLoader(getReactApplicationContext(), latestJSBundleFile, false);
^
symbol: method createAssetLoader(ReactApplicationContext,String,boolean)
location: class JSBundleLoader
C:\Users\Test\Documents\Kerja\bmh-mobile\node_modules\react-native-code-push\android\app\src\main\java\com\microsoft\codepush\react\CodePushNativeModule.java:107: error: method createFileLoader in class JSBundleLoader cannot be applied to given types;
latestJSBundleLoader = JSBundleLoader.createFileLoader(latestJSBundleFile);
^
required: Context,String
found: String
reason: actual and formal argument lists differ in length
C:\Users\Test\Documents\Kerja\bmh-mobile\node_modules\react-native-code-push\android\app\src\main\java\com\microsoft\codepush\react\CodePushNativeModule.java:145: error: cannot find symbol
instanceManager.recreateReactContextInBackground();
^
symbol: method recreateReactContextInBackground()
location: variable instanceManager of type ReactInstanceManager
C:\Users\Test\Documents\Kerja\bmh-mobile\node_modules\react-native-code-push\android\app\src\main\java\com\microsoft\codepush\react\CodePushNativeModule.java:196: error: cannot find symbol
ReactApplication reactApplication = (ReactApplication) currentActivity.getApplication();
^
symbol: class ReactApplication
location: class CodePushNativeModule
C:\Users\Test\Documents\Kerja\bmh-mobile\node_modules\react-native-code-push\android\app\src\main\java\com\microsoft\codepush\react\CodePushNativeModule.java:196: error: cannot find symbol
ReactApplication reactApplication = (ReactApplication) currentActivity.getApplication();
^
symbol: class ReactApplication
location: class CodePushNativeModule
C:\Users\Test\Documents\Kerja\bmh-mobile\node_modules\react-native-code-push\android\app\src\main\java\com\microsoft\codepush\react\CodePushNativeModule.java:235: error: package ReactChoreographer does not exist
ReactChoreographer.getInstance().postFrameCallback(ReactChoreographer.CallbackType.TIMERS_EVENTS, new ChoreographerCompat.FrameCallback() {
^
C:\Users\Test\Documents\Kerja\bmh-mobile\node_modules\react-native-code-push\android\app\src\main\java\com\microsoft\codepush\react\CodePushNativeModule.java:235: error: package ChoreographerCompat does not exist
ReactChoreographer.getInstance().postFrameCallback(ReactChoreographer.CallbackType.TIMERS_EVENTS, new ChoreographerCompat.FrameCallback() {
^
C:\Users\Test\Documents\Kerja\bmh-mobile\node_modules\react-native-code-push\android\app\src\main\java\com\microsoft\codepush\react\CodePushNativeModule.java:235: error: cannot find symbol
ReactChoreographer.getInstance().postFrameCallback(ReactChoreographer.CallbackType.TIMERS_EVENTS, new ChoreographerCompat.FrameCallback() {
^
symbol: variable ReactChoreographer
Note: C:\Users\Test\Documents\Kerja\bmh-mobile\node_modules\react-native-code-push\android\app\src\main\java\com\microsoft\codepush\react\CodePushNativeModule.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
11 errors
:react-native-code-push:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
Execution failed for task ':react-native-code-push:compileReleaseJavaWithJavac'.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.`
i am using
The text was updated successfully, but these errors were encountered: