can't import
Closed this issue · 11 comments
I'm facing the same issue. How did you fix this?
local.properties would have to contain details about the key store to use. The easiest way to get there is to invoke:
./scripts/create-test-keystore
Thanks for the response. I have seen the script - create-test-keystore
but how do I add it to local.properties file?
Just run it. It will create a suitable local.properties (only if it doesn't already exit). I'm using this with CI automation...
The local.properties
file already exists with only the sdk.dir
present. Unable to run on device without build complete. Please help me out. Thanks
You can just axe it. I'll redo the Gradle bits at some point to use a different mechanism. For now, that would be the way :-)
You can safely remove local.properties
and invoke the script. That will recreate a local.properties file with keys to be able to sign the release build. This way you can build the project.
@saschpe
So why include the file if it's so problematic?
How come I can import other projects just fine? How can you use it if it has a problematic file?
And what script to run? You mean re-building, right?
If so, your suggestion didn't work. See attached video:
2020-02-29_12-09-06.zip
rm local.properties
./scripts/create-test-keystore
./gradlew assemble
Guys why so much for importing of a project...
Please just fix it. It's not intuitive to perform this.