Hi Gurus,
I tried to use AeroGear and run into a little problem...
I installes Aerogear on OpenShift/Minishift incl Kerberos, like
https://github.com/aerogear/aerogear-unifiedpush-server/
After that I used the guide at:
https://aerogear.org/docs/unifiedpush/aerogear-push-android/ guides/
Then I got a complier error when I tried to run the PushApplication
Error:(25, 23) error: TAG has private access in FragmentActivity
I tried to fixed this in
MainActivity.java by adding a
private static final String TAG = MainActivity.class.getSimpleName();
So I got the following error at application runtime:
W/System: ClassLoader referenced unknown path: /data/app/com.push.pushapplication-1/lib/arm64
I/FirebaseInitProvider: FirebaseApp initialization unsuccessful
I/InstantRun: starting instant run server: is main process
W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawa ble.VectorDrawableCompat.updat eTintFilter(android.graphics.P orterDuffColorFilter, android.content.res.ColorState List, android.graphics.PorterDuff$Mo de) would have incorrectly overridden the package-private method in android.graphics.drawable.Draw able
E/MainActivity: Default FirebaseApp is not initialized in this process com.push.pushapplication. Make sure to call FirebaseApp.initializeApp(Context) first.
java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process com.push.pushapplication. Make sure to call FirebaseApp.initializeApp(Cont ext) first.
at com.google.firebase.FirebaseApp.getInstance(Unknown Source)
at com.google.firebase.iid.FirebaseInstanceId.getInstance(Unkno wn Source)
at org.jboss.aerogear.android.unifiedpush.fcm.AeroGearFCMPushRe gistrar$2.get(AeroGearFCMPushR egistrar.java:100)
at org.jboss.aerogear.android.unifiedpush.fcm.AeroGearFCMPushRe gistrar$2.get(AeroGearFCMPushR egistrar.java:96)
at org.jboss.aerogear.android.unifiedpush.fcm.AeroGearFCMPushRe gistrar$4.doInBackground(AeroG earFCMPushRegistrar.java:145)
at org.jboss.aerogear.android.unifiedpush.fcm.AeroGearFCMPushRe gistrar$4.doInBackground(AeroG earFCMPushRegistrar.java:135)
at android.os.AsyncTask$2.call(AsyncTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243 )
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool Executor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
I could not find any workaroud. Any tip/solution wolcome?
Lg RobertMit freundlichen Grüßen / Kind regardsRobert Baumgartner
Senior Solution Architect Middleware
Millenniumtower 24.Stock
Handelskai 94-96
A-1200 Wien
robert.baumgartner@redhat.com M: +43-660-5913883
_______________________________________________
Aerogear-users mailing list
Aerogear-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear- users