Seyyed
1
i am working on an Android project with Unity 4.2.
When i Build and Run the game, it give me an error. this is it:
Error building Player: KeyNotFoundException: The given key was not present in the dictionary.
but i can (just) Build it easily. (create a .apk file)
what is the mistake?
how can i fix that?
thanks!
Copied earlier answer, original answer can be found here by Ben Stoneman:
The problem is regarding the .apk file signature.
What is the signature?: Sign your app | Android Studio | Android Developers
You will need to enter it into the Keystore password via the player settings.
You can avoid the signature issue by checking the “development build” box.
I get this problem when I save my builds within my unity project assets folder.
All I did was delete my .app folder from with in my assets and everything works Fine!
If you changed the name of your entire project, try to remember the old name of your project and rename with the old project name.
adi4x
5
try only Build… if it’s working then the keystore it’s OK
For me Build and Run it was not working because of the data cable