question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No such proxy method: UnityEngine.AndroidJavaRunnableProxy.run() in Unity 2017.1.0f3

See original GitHub issue

As soon as I associate the Branch prefab (current commit) I start seeing this error when launching Unity. Note that this happens regardless of whether I call Branch.initSession or not.

08-21 10:20:50.503 7779-7779/? I/Unity: Exception: No such proxy method: UnityEngine.AndroidJavaRunnableProxy.run()
                                          at UnityEngine.AndroidJavaProxy.Invoke (System.String methodName, System.Object[] args) [0x00000] in <filename unknown>:0 
                                          at UnityEngine.AndroidJavaProxy.Invoke (System.String methodName, UnityEngine.AndroidJavaObject[] javaArgs) [0x00000] in <filename unknown>:0 
                                          at UnityEngine._AndroidJNIHelper.InvokeJavaProxyMethod (UnityEngine.AndroidJavaProxy proxy, IntPtr jmethodName, IntPtr jargs) [0x00000] in <filename unknown>:0 
                                         
                                        (Filename:  Line: -1)
08-21 10:20:50.622 7779-7823/? I/Unity: OnApplicationPause
08-21 10:20:59.413 8067-8136/? I/AppsFlyer_1.18: WARNING:checkPlatform Not Built using Unity 22.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
antonargunovcommented, Aug 27, 2017

Hi @dustinkerstein , sorry for delay. I checked Stripping Levels, and yes, we have that troubles with two stripping levels. As I understand, Unity3d cut some features for android native things. But I was able to use some stripping features. I hope, my info will be able to help you.

I use Unity 2017.1.0p4. I am able to use Mono + Use micro mscorelib, also IL2CPP + Strip Engine Code. For “Mono + Use micro mscorelib” I use link.xml <linker> <assembly fullname="UnityEngine"> <type fullname="UnityEngine.AndroidJavaRunnableProxy" preserve="all"/> </assembly> </linker>

1reaction
antonargunovcommented, Aug 28, 2017

It appears micro mscorelib isn’t available in 2017 though

micro mscorelib added in 2017.1.0p3

Not sure if you want to fix this as a bug, or however, but I’ll leave that to you.

I am working with that issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No such proxy method: UnityEngine. ...
I/Unity: Exception: No such proxy method: UnityEngine.AndroidJavaRunnableProxy.run() at UnityEngine.AndroidJavaProxy.Invoke (System.String ...
Read more >
No such proxy method: UnityEngine. ...
I/Unity: Exception: No such proxy method: UnityEngine.AndroidJavaRunnableProxy.run() at UnityEngine.AndroidJavaProxy.Invoke (System.String ...
Read more >
Unity Ads - No such proxy method on Android
Hello, Recently I updated Unity from 5.4.x to 5.5.2f1. All things in my game worked good, so I maked a build and released...
Read more >
No such proxy method : UnityEngine ... - Yudongjae
No such proxy method : UnityEngine.AndroidJavaRunnableProxy.run() by appsflyer sdk Unity. Unity Project를 하면서 Appsflyer Tracking SDK 를 ...
Read more >
Scripting API: AndroidJavaProxy.Invoke
Description. Called by the java vm whenever a method is invoked on the java proxy interface. You can override this to run special...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found