jhen0409 / react-native-android-badge

A react native wrapper for leolin310148/ShortcutBadger.
MIT License
90 stars 36 forks source link

import me.jhen.react.BadgePackage #11

Open BODhaha opened 6 years ago

BODhaha commented 6 years ago
E:\myWorkspace\gey_admin_rn\android\app\src\main\java\com\geyadminrn\MainApplication.java:9: ▒▒▒▒: ▒▒▒▒▒me.jhen.react▒▒▒▒▒▒
import me.jhen.react.BadgePackage;
                    ^
E:\myWorkspace\gey_admin_rn\android\app\src\main\java\com\geyadminrn\MainApplication.java:55: ▒▒▒▒: ▒Ҳ▒▒▒▒▒▒▒
            new BadgePackage(),
                ^
  ▒▒▒▒: ▒▒ BadgePackage
2 ▒▒▒▒▒▒
: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.

请问这个包咋报错了?

duytq94 commented 6 years ago

@BODhaha Use react-native link react-native-android-badge Then please add compile project(':react-native-android-badge') on android/app/build.gradle manually since link command not work perfectly.