Code Monkey home page Code Monkey logo

Comments (9)

CycloneAxe avatar CycloneAxe commented on July 27, 2024

Could not find property 'APP_CLIENT_ID'

请检查下你的 APP_CLIENT_ID 是否有定义

from phphub-android.

skyyanyujiangnan avatar skyyanyujiangnan commented on July 27, 2024

同样的问题,怎么处理的

from phphub-android.

CycloneAxe avatar CycloneAxe commented on July 27, 2024

@skyyanyujiangnan

麻烦贴下错误信息,如果和 @AndroidLevi 相同,请检查下 APP_CLIENT_ID 是否有定义

from phphub-android.

skyyanyujiangnan avatar skyyanyujiangnan commented on July 27, 2024

Error:(18, 0) Could not get unknown property 'CLIENT_ID' for ProductFlavor_Decorated{name=main, dimension=null, minSdkVersion=DefaultApiVersion{mApiLevel=15, mCodename='null'}, targetSdkVersion=DefaultApiVersion{mApiLevel=24, mCodename='null'}, renderscriptTargetApi=null, renderscriptSupportModeEnabled=null, renderscriptSupportModeBlasEnabled=null, renderscriptNdkModeEnabled=null, versionCode=5, versionName=1.0.2, applicationId=com.jun.elephant, testApplicationId=null, testInstrumentationRunner=null, testInstrumentationRunnerArguments={}, testHandleProfiling=null, testFunctionalTest=null, signingConfig=null, resConfig=null, mBuildConfigFields={}, mResValues={}, mProguardFiles=[], mConsumerProguardFiles=[], mManifestPlaceholders={}, mWearAppUnbundled=null} of type com.android.build.gradle.internal.dsl.ProductFlavor.
Open File
是这样的,APP_CLIENT_ID 如何定义?

from phphub-android.

CycloneAxe avatar CycloneAxe commented on July 27, 2024

@skyyanyujiangnan

2、复制 gradle.properties.example 为 gradle.properties 并编辑里面的相关信息

3、将项目导入 Android Studio 运行即可

from phphub-android.

skyyanyujiangnan avatar skyyanyujiangnan commented on July 27, 2024

image
您说的是这个吗?相关信息需要重新申请?

from phphub-android.

skyyanyujiangnan avatar skyyanyujiangnan commented on July 27, 2024

Error:(22, 0) Could not find method android() for arguments [build_9mmqvhq6kve24kqx5lo58l2wo$_run_closure3@eeba6ab] on root project 'Elephant-master' of type org.gradle.api.Project.
Open File

出现了新问题

from phphub-android.

CycloneAxe avatar CycloneAxe commented on July 27, 2024

@skyyanyujiangnan
先复制一份 gradle.properties.example 文件并重命名为 gradle.properties 即可,当前测试地址 https://staging.phphub.org/v1 可以访问

Error:(22, 0) Could not find method android() for arguments [build_9mmqvhq6kve24kqx5lo58l2wo$_run_closure3@eeba6ab] on root project 'Elephant-master' of type org.gradle.api.Project.

这个错误是运行https://github.com/Freelander/Elephant 这个项目产生的吧?

from phphub-android.

skyyanyujiangnan avatar skyyanyujiangnan commented on July 27, 2024

嗯嗯,现在解决啦,所有的都换成24.0.2可以了

from phphub-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.