You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.
When I build everything with Ant and http://code.google.com/p/scalaforandroid/ everything works fine, but when I build my project with sbt/android-plugin Android throws an exception on boot when looking for my BroadcastReceiver subclass. Launching the app through the main activity still works fine, just this broadcast receiver class is not found.
My BroadcastReceiver is simple:
class CoreReceiver extends BroadcastReceiver {
val BOOT_COMPLETED = "android.intent.action.BOOT_COMPLETED"
override def onReceive(context: Context, intent: Intent) {
if (intent.getAction().equals(BOOT_COMPLETED)) {
// Do something
}
}
}
When I build everything with Ant and http://code.google.com/p/scalaforandroid/ everything works fine, but when I build my project with sbt/android-plugin Android throws an exception on boot when looking for my BroadcastReceiver subclass. Launching the app through the main activity still works fine, just this broadcast receiver class is not found.
My BroadcastReceiver is simple:
and I have the following in my AndroidManifest:
The text was updated successfully, but these errors were encountered: