I received quite a number of crash reported in my Xamarin.Android app reported in Play Console with the following stack trace:
at mono.android.Runtime.register (Native Method)
at md5dd7a5194eb3bf67181b6a5c267c0f7e7.PushNotificationMessagingService. (PushNotificationMessagingService.java:15)
at java.lang.Class.newInstance (Native Method)
at android.app.ActivityThread.handleCreateService (ActivityThread.java:3470)
at android.app.ActivityThread.-wrap4 (Unknown Source)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1748)
at android.os.Handler.dispatchMessage (Handler.java:108)
at android.os.Looper.loop (Looper.java:206)
at android.app.ActivityThread.main (ActivityThread.java:6733)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:240)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:845)
I have no idea what crashed. The only thing it point to is the push notification services in the app with no additional information. They happen on Android 8.0 and above devices only. Android 8.0 above doesn’t required any special permission to receive notification. No similar crash reported in App Center (I use App Center as my crash reporting tool). Search online doesn’t return me anything meaningful. So I just ignore the error since no user complain anything to me.
Then today I found out that Android 8.0 and above required channel id when showing notification else it will crash in the background. Oh, snap, this is the problem! If you have simiar crash stack trace, this is probably the answer: https://blog.xamarin.com/android-oreo-notification-channels/
Every time I reformatted my machine and reinstall back Android Studio / Visual Studio. There are always some components in Android development tools are broken. It work perfectly previous, but now it doesn’t work on new freshly installed machine. It is always a new problem. This is annoying.
When I launch Android Device Monitor from Visual Studio 2017 or launch the android device monitor manually from executable. The following error pop up.
Failed to load the JNI shared library “C:\Program Files\Java\jdk1.8.0_181\bin\..\jre\bin\server\jvm.dll”
Depend on your installed JDK version, the error message might be different.
This is because Visual Studio tried to launch the x86 version of Android Device Monitor, while my machine only have x64 Java SDK / JDK installed, so it complain that. Unlike previous Visual Studio which install x86 JDK, all new Visual Studio now come with x64 JDK only.
Continue reading Failed to Launch Android Device Monitor
Connecting a bluetooth mouse in Windows should be a fairly easy and strait forward thing. Thing can get complicated fast when Windows is running on Macbook / Mac device or you previously tried reformat the Windows running on Macbook / Mac device. You may find that your bluetooth mouse no longer able to connect to Windows after that.
If you face the same problem like bluetooth mouse keep on connect and disconnect in Windows running on Macbook, try reset the NVRAM on Macbook. It basically remove and “forget” all connected devices, so you can connect them again. This will make MacOS running on the same device forget the all bluetooth device as well. You will need to manually connect all again.
You might want to turn off energy saving on bluetooth mouse in Windows 10 as well to prevent it keep on disconnecting the mouse. So much trouble to just get a bluetooth mouse working as usual.
The latest MouseHunt AutoBot script (version 2.04) only work on the new layout of MouseHunt. If you are running on old layout, the script will hang after sounding the horn. I will fix them in future, but currently the only way to make sure the script run without problem is use the new layout. Here is how you can do it:
First, go to Help > User Preferences
Continue reading How to Switch to New FreshCoat Layout for MouseHunt
I’m back in the game, it has been a while since I left the game. Enjoying the Chinese New Year event and Winter Olympic event (also server down event). Here are some quick update what is in the latest update.
- Do no disturb time. (Help avoid warning sound when you sleep. Sleep is important)
- Cheese zero warning.
- Stop warning sound when king reward is resolved.
- Clean up a bunch old code.
Continue reading MouseHunt AutoBot 2.05 Update
A quick update on the script to fix a couple of issues reported.
- King’s Reward no sound.
- Script stop running even when player is in camp.
- Trap check is not working properly.
- Clean up a bunch of useless code.
- Add a donate link.
Continue reading MouseHunt AutoBot 2.03 Update
Install TamperMonkey on your Firefox browser first if you haven’t done yet. It should be as easy as any add-on install. TamperMonkey support Firefox Quantum, so it should have no problem running on the latest Firefox version. You should notice the TamperMonkey icon is added in the toolbar once you have it installed.
Continue reading How To Install User Script in Firefox with TamperMonkey
Many user ask us this question because they are not familiar / never use GitHub before. You doesn’t need any other tool or client program to download the code in GitHub. Since user script usually available in a single file, it is easy enough to just go and download that single file or direct copy in text form from there.
First go to the repository you are interested. Look for .user.js file. Click on it to open.
Continue reading How to Copy / Download User Script from GitHub
Actually I haven’t been playing the MouseHunt for a really long long time, maybe 2013. But many players messaged me that the bot I created so many years ago was broken now due to the latest changes. I’m really surprised. I though that the bot was broken many years ago and others has took up the responsibility and make a newer version to replace mine.
Continue reading MouseHunt AutoBot 2.00
Firefox Quantum update killed the script. Yes, it did. That is why I got a lot of user write to me to told me that. It wasn’t working any more after they updated their Firefox to the latest version 57 which is also call Firefox Quantum).
Continue reading Fish Wrangler AutoBot Updated for Firefox Quantum