Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Failed Android build - The password for the alias was not alias was not valid ,or the Java JDK was not found.
Started by jerry1193333 Aug 07 2018 06:56 AM

1 reply to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

jerry1193333

[GLOBAL: userInfoPane.html]
jerry1193333
  • Observer

  • 1 posts
  • Corona SDK

I built the sample before. It worked. 

 

But, this time, when I wanted to build an android app, I got a warning.

"

The password for the alias was not valid, or the Java JDK was not found. 

androiddebugkey

"

 

The above message is what I got. 

 

This is my first to make an app and programming(no concepts), so I do not understand what is mean. 

I found some methods to solve it.

1. use the cmd to get a keystore. (I don't know what I did)

2. add a "bin" after the JDK path in the environment variable. (I followed someone's method, but I think I did it wrong.)

 

Hope someone can help me.Please.

 

All the steps I followed the corona tutorials.

 

Sorry that my English is bad. :unsure:



[TOPIC: post.html]
#2

yosu

[GLOBAL: userInfoPane.html]
yosu
  • Contributor

  • 503 posts
  • Corona SDK

This happens sometimes. I solve it by :

 

1) Restart Corona simulator

2) Restart my whole pc

 

I guess it is something to do with connection, as this error also appears if there is a bad connection




[topic_controls]
[/topic_controls]