Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
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?
jovendigital
@jovendigital
to work in app
Alex Kuck
@alexkuck
great library you guys! is there a way to increase the size of the entry box and entry text?
dan
@dbachelder
Increase the height?
The width can be whatever you want.. Match_parent
Or any DPI
Alex Kuck
@alexkuck
ahhh stupid question... thanks
dan
@dbachelder
No!
NP!
Autocorrect......
shaishavshah119
@shaishavshah119
@dbachelder I want field to take only CC number and it should not scroll and ask for MM/YY or CVV no. I tried with form.setCardNumber("", false); but it didnt worked for me. After i entered 16th digit it goes to MM/YY. Can you please help me on the same.
dan
@dbachelder
@shaishavshah119 you can disable those fields completely
Alashov Berkeli
@alashow
hey! Is anyone here? How to listen for input changes?
JoydeepRoy
@joydeeproy87

hey guys stuck with this regex problem.

<code>
Is it possible to write a book without the letter 'e' ?

Task

Given String str, return:

How much "e" does it contains (case-insensitive) - return number as String.
If given String doesn't contain any "e", return: "There is no "e"."
If given String is empty, return empty String.
If given String is null/None/nil, return null/None/nil

</code>

icg
@iadcg
Hi. Im have a react native android app. im using tipsie-stripe for the payment part. then this uses the tipsi/CreditCardEntry lib
my issue im having is the scrolling from credit card number to the expiry date. its not properly display the expiry date field. its properly scrolled to show it. this only happens to huawei devices
anyone experienced this before?
icg
@iadcg
@dbachelder
bro. any clues on this?
icg
@iadcg
hi again. I think I know the cause of the problem in Huwaei phones
if i change scrollTo to smoothScrollTo, it works! do u know why?