Android problem
Opened this issue · 1 comments
Hello,
I was trying your plugin, and I have to tell you that with iOS it works perfectly but with Android I've got a problem, when I click the button I get this error:
04-03 15:46:31.857 28001 28029 I Unity : AndroidJavaException: android.content.ActivityNotFoundException: Unable to find explicit activity class {info.mizoguche.tweetsharere.sample/info.mizoguche.tweetsharer.TweetSharerActivity}; have you declared this activity in your AndroidManifest.xml?
04-03 15:46:31.857 28001 28029 I Unity : android.content.ActivityNotFoundException: Unable to find explicit activity class {info.mizoguche.tweetsharere.sample/info.mizoguche.tweetsharer.TweetSharerActivity}; have you declared this activity in your AndroidManifest.xml?
04-03 15:46:31.857 28001 28029 I Unity : at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1815)
04-03 15:46:31.857 28001 28029 I Unity : at android.app.Instrumentation.execStartActivity(Instrumentation.java:1531)
04-03 15:46:31.857 28001 28029 I Unity : at android.app.Activity.startActivityForResult(Activity.java:4389)
04-03 15:46:31.857 28001 28029 I Unity : at android.app.Activity.startActivityForResult(Activity.java:4348)
04-03 15:46:31.857 28001 28029 I Unity : at android.app.Activity.startActivity(Activity.java:4672)
04-03 15:46:31.857 28001 28029 I Unity : at android.app.Activity.startActivity(Activity.java:4640)
04-03 15:46:31.857 28001 28029 I Unity : at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
04-03 15:46:31.857 28001 28029 I Unity : at com.unity3d.player.UnityPlayer.a(Unknown Source)
04-03 15:46:31.857 28001 28029 I Unity : at com.unity3
I've tried editing manifest file with no success...
Did you check that your AndroidManifest in the apk file built by Unity contains info.mizoguche.tweetsharer.TweetSharerActivity
?
This article may help you to check the AndroidManifest in the apk.
android - How to view AndroidManifest.xml from APK file? - Stack Overflow