Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Cloud Storage management with Android

I'm using pliablematter simple-cloud-storage to manage uploads/downloads of files using Google Cloud Storage. But I'm not able to make it work, there's a property file with this content:

project.id=0000000000
application.name=Application Name
[email protected]
private.key.path=/var/key

I know my project.id, aplication name and account id but what should I put in private key path?? I generated and downloaded the service account private key but no matter which path location I always get java.io.FileNotFoundException

Moreover, where should I save private keys in Android applications?

Github project https://github.com/pliablematter/simple-cloud-storage

Please help! Thanks

like image 789
Ramon Zuniga Avatar asked Dec 04 '25 20:12

Ramon Zuniga


1 Answers

I was able to solve this by copying the private key to an internal storage folder, then I put the path location in private.key.path

Don't know if this is the right way but it worked for me.

like image 136
Ramon Zuniga Avatar answered Dec 10 '25 23:12

Ramon Zuniga