KonradIT / CamControl

Open source app to connect with popular action cameras, replacing your vendor's closed source app system.
MIT License
114 stars 28 forks source link

There are old version gradlew #3

Closed avonar closed 6 years ago

avonar commented 6 years ago
./gradlew build

FAILURE: Build failed with an exception.

* Where:
Build file '/mnt/d/github/CamControl/build.gradle' line: 10

* What went wrong:
A problem occurred evaluating root project 'CamControl'.
> Could not find method google() for arguments [] on repository container.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
avonar commented 6 years ago
./gradlew -v

------------------------------------------------------------
Gradle 4.9-20180601101551+0000

What version gradlew really need??

PS E:\git\CamControl> .\gradlew build

> Configure project :mobile
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: Configuration 'androidTestCompile' is obsolete and has been replaced with 'androidTestImplementation' and 'androidTestApi'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: Configuration 'androidTestApi' is obsolete and has been replaced with 'androidTestImplementation'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: Configuration 'testCompile' is obsolete and has been replaced with 'testImplementation' and 'testApi'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: Configuration 'testApi' is obsolete and has been replaced with 'testImplementation'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':mobile'.
> SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
KonradIT commented 6 years ago

You haven't specified the SDK location.

avonar commented 6 years ago

I resolved my problem, just build project in android studio.