Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
jovendigital
@jovendigital
Uber works with this IU?
dan
@dbachelder
they probably have their own
jovendigital
@jovendigital
It really is very similar
I dont think so
they works with anothers IU known
jovendigital
@jovendigital
sorry, I'm finish the change you suggested
form.setEnabled(boolean)
dan
@dbachelder
almost there... CreditCardEntry.setDisabled() should be .setEnabled(boolean) and it should enable/disable all the fields, not just the credit card number
Tawheed Raheem
@tawrahim
I seem to be having a bit of problem using this project in Android Studio
dan
@dbachelder
what seems to be the issue?
Tawheed Raheem
@tawrahim

I added the necessary lines to my build.gradle but I am running into the following Error:A problem occurred configuring project ':app'.

Artifact 'support-v4.jar (com.android.support:support-v4:22.1.0)' not found.
Searched in the following locations:
https://jitpack.io/com/android/support/support-v4/22.1.0/support-v4-22.1.0.jar

dan
@dbachelder
have you updated your SDK stuff lately?
Tawheed Raheem
@tawrahim
no
dan
@dbachelder
you may need to do that to get the local repo updated
Tawheed Raheem
@tawrahim
okay let me give that a try
Tawheed Raheem
@tawrahim
Still
there

I just finished the update and this is what I got

Error:Execution failed for task ':app:processDebugResources'.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Users/tawheedraheem/Library/Android/sdk/build-tools/19.1.0/aapt'' finished with non-zero exit value 1

dan
@dbachelder
hmm...
if you do it with --stacktrace does that give you anything more meaningful?
Tawheed Raheem
@tawrahim

Let me see I'm guessing this is the command right?

./gradlew build --stacktrace

dan
@dbachelder
yeah, if build is the target you are running...
I guess you could just run the target that is failing.. ./gradlew --stacktrace :app:processDebugResources
Tawheed Raheem
@tawrahim
Do you want the stack?
dan
@dbachelder
sure
Tawheed Raheem
@tawrahim

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processDebugResources'.

    com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Users/tawheedraheem/Library/Android/sdk/build-tools/19.1.0/aapt'' finished with non-zero exit value 1

  • Try:
    Run with --info or --debug option to get more log output.

  • Exception is:
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:processDebugResources'.

      at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
      at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
      at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
      at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
      at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
      at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:42)
      at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
      at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
      at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
      at org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:305)
      at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.executeTask(AbstractTaskPlanExecutor.java:79)
      at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:63)
      at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:51)
      at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:23)
      at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:88)
      at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:29)
      at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
      at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23)
      at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:68)
      at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
      at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
      at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:55)
      at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:149)
      at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106)
      at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86)
      at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:80)
      at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)
      at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)
      at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:36)
      at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
      at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:51)
      at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)
      at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(Com
dan
@dbachelder
hmm... is that the whole thing? doesn't seem like there is anything helpful there...
could you run with --stacktrace --debug and PM me the whole output
Tawheed Raheem
@tawrahim
This is the beginning
./gradlew --stacktrace :app:processDebugResources
:app:generateDebugAssets UP-TO-DATE
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportSupportV42210Library UP-TO-DATE
:app:prepareComGithubDbachelderCreditCardEntryV121Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServices6587Library UP-TO-DATE
:app:prepareComSoundcloudAndroidAndroidCrop0910Library UP-TO-DATE
:app:prepareDeHdodenhofCircleimageview120Library UP-TO-DATE
:app:prepareDebugDependencies
:app:mergeDebugAssets UP-TO-DATE
:app:compileDebugRenderscript UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources
:app:processDebugManifest
:app:processDebugResources
Position 1 : Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material.Light'.
This is the xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <!-- From: file:/build/CreditCardEntry/res/values-v21/styles.xml -->
    <eat-comment/>
    <style name="AppBaseTheme" parent="android:Theme.Material.Light">
        <!-- API 21 theme customizations can go here. -->
    </style>
</resources>
dan
@dbachelder
oh, which project are you building? yours of the demo app?
or*
Tawheed Raheem
@tawrahim
mine
I'm trying to integrate the library into my project
dan
@dbachelder
right... you're not targeting 21
sec
Tawheed Raheem
@tawrahim
kk.

android {
    compileSdkVersion 16
    buildToolsVersion '19.1.0'

    defaultConfig {
        applicationId "com.tawheedraheem.tripbuddy"
        minSdkVersion 14
        targetSdkVersion 16
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }

    lintOptions {
        abortOnError false
    }
}
dan
@dbachelder
android {
    compileSdkVersion 22
you might as well compile against 22
is there some reason you are only targeting 16?
Tawheed Raheem
@tawrahim
actually no
dan
@dbachelder
and the latest build tools is 22.0.1
Tawheed Raheem
@tawrahim
Awesome looks like the gradle sync is working :-)
Time to actually get to play with the library
dan
@dbachelder
great!
good luck!
Tawheed Raheem
@tawrahim
Thanks!
jovendigital
@jovendigital
@dbachelder would you like to do an app for me?
dan
@dbachelder
what do you mean?