简体   繁体   中英

gradle.properties in android studio project missing

I imported android application from eclipse to android studio,Application working fine but gradle.properties is missing.

I need to integrate Uber SDK to my application,I need add following properties UBER_CLIENT_ID, UBER_REDIRECT_URI, UBER_SERVER_TOKEN,

to gradle.properties ,But there is no gradle.properties .

You can put the gradle.properties file inside the root of your project or inside the ~/home/user/.gradle/ folder

if you are in mac, type below command in the terminal:

cd ~/home/user/.gradle/
nano gradle.properties 

And then type below in the opened file:

UBER_CLIENT_ID = "abc"
UBER_REDIRECT_URI = "bcd"
UBER_SERVER_TOKEN = "cde"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM