Quantcast
Channel: Ionic Forum - Latest topics
Viewing all 71530 articles
Browse latest View live

Ionic 2 build process output steps description is encrypted

$
0
0

@Shay_Shaked wrote:

Hi,
For a while now we have encounter a problem while running ionic build android.
Previously, the steps of the build process showed exactly what phase he was in.
Now, the steps are encrypted/Hexa:
image

Posts: 1

Participants: 1

Read full topic


Jdk version

$
0
0

@aocii wrote:

Hi, I want to build my app but I got some errors. Here is the error;

C:\artemis>ionic cordova build android
> ionic-v1.cmd build
[08:42:49] Invoking sass gulp task.
> cordova.cmd build android
Android Studio project detected
Running command: node C:\artemis\hooks\after_prepare\010_add_platform_class.js C:\artemis
ANDROID_HOME=C:\Users\win10\AppData\Local\Android\sdk
JAVA_HOME=C:\Program Files\Java\jdk-11.0.2
Requirements check failed for JDK 1.8
[ERROR] An error occurred while running subprocess cordova.

when I check for java version on cmd here is what I get ;

C:\Users\win10>java -version
java version "1.8.0_221"
Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
Java HotSpot(TM) Client VM (build 25.221-b11, mixed mode, sharing).

when I wrote the build code with verbose I am getting this ;

C:\artemis>cordova.cmd build android --verbose
No scripts found for hook "before_build".
No scripts found for hook "before_prepare".
Checking config.xml and package.json for saved platforms that haven't been added to the project
Config.xml and package.json platforms are the same. No pkg.json modification.
Package.json and config.xml platforms are different. Updating config.xml with most current list of platforms.
PlatformApi successfully found for platform android
Android Studio project detected
Checking for saved plugins that haven't been added to the project
Checking for any plugins added to the project that have not been installed in android platform
No differences found between plugins added to project and installed in android platform. Continuing...
Generating platform-specific config.xml from defaults for android at C:\artemis\platforms\android\app\src\main\res\xml\config.xml
Merging project's config.xml into platform-specific android config.xml
Merging and updating files from [www, platforms\android\platform_www] to platforms\android\app\src\main\assets\www
Wrote out android application name "MyApp" to C:\artemis\platforms\android\app\src\main\res\values\strings.xml
android-versionCode not found in config.xml. Generating a code based on version in config.xml (0.0.1): 1
Wrote out Android package name "io.ionic.starter" to C:\artemis\platforms\android\app\src\main\java\io\ionic\starter\MainActivity.java
Updating icons at platforms\android\app\src\main\res
Updating splash screens at platforms\android\app\src\main\res
Updating resource files at platforms\android
Prepared android project successfully
Executing script found in hooks directory for hook "after_prepare": hooks\after_prepare\010_add_platform_class.js
Running command: node C:\artemis\hooks\after_prepare\010_add_platform_class.js C:\artemis
Command finished with error code 0: node C:\artemis\hooks\after_prepare\010_add_platform_class.js,C:\artemis
No scripts found for hook "before_compile".
ANDROID_HOME=C:\Users\win10\AppData\Local\Android\sdk
JAVA_HOME=C:\Program Files\Java\jdk-11.0.2
Requirements check failed for JDK 1.8
CordovaError: Requirements check failed for JDK 1.8
    at C:\artemis\platforms\android\cordova\lib\check_reqs.js:362:19
    at _fulfilled (C:\artemis\platforms\android\cordova\node_modules\q\q.js:834:54)
    at C:\artemis\platforms\android\cordova\node_modules\q\q.js:863:30
    at Promise.promise.promiseDispatch (C:\artemis\platforms\android\cordova\node_modules\q\q.js:796:13)
    at C:\artemis\platforms\android\cordova\node_modules\q\q.js:604:44
    at runSingle (C:\artemis\platforms\android\cordova\node_modules\q\q.js:137:13)
    at flush (C:\artemis\platforms\android\cordova\node_modules\q\q.js:125:13)
    at process._tickCallback (internal/process/next_tick.js:61:11)

If somebody can help me, I really appreciate, thanks already.
Have a nice day to everyone !

Posts: 1

Participants: 1

Read full topic

Ionic-Native/Httpd plugin "the Httpd plugin is not installed"

$
0
0

@hyperlinked wrote:

Has anyone been able to get the Httpd plugin to work with Ionic v4? I’ve tried to add it into my project in various ways and when I fire up either an iOS or Android device for testing, I get the following console messages whenever it tries to start the Httpd Web server service:

Native: tried calling Httpd.startServer, but the Httpd plugin is not installed.
[ng] [console.warn]: Install the Httpd plugin: ‘ionic cordova plugin add cordova-plugin-httpd’

That plugin is installed. I’ve done the following:

npm install @ionic-native/httpd@latest --save
ionic cordova plugin add cordova-plugin-http --save

I even created a fresh project using Ionic Studio and used Ionic Studio to add iOS and Android as platforms and then used the plugin manager to add the Httpd plugin. I then built the ionic project and ran ionic cap sync to synrchonize my build with my platform folders.

When I connect an Android device or load the app using iOS over Ionic DevApp, I get the error message shown above.

I’m trying to invoke the server with the sample code from the Ionic Native v4 page for the Httpd plugin:

  let options: HttpdOptions = {
      www_root: 'httpd_root', // relative path to app's www directory
      port: 80,
      localhost_only: false
  };

  this.httpd.startServer(options).subscribe((data) => {
      console.log('Server is live');
  });

My blank page for my test project loads normally and there are no other errors or warnings. It’s just that no matter what I try, I always end up with ionic telling me in the log output for devices connected a variety of ways that the cordova httpd plugin isn’t installed.

Posts: 1

Participants: 1

Read full topic

Access to XMLHttpRequest at '' from origin 'file://' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource

$
0
0

@sriharibalgam4 wrote:

I am using ionic3 for my application development. I am getting below error for android application for the first time installation. Then after re-launching the app is working correctly.
Seeing this issue only on a new/fresh install of the app. Restarting the app resolves the issue which is strange.

I have seeing this issue after I set targetSdkVersion 28 i.e, building app for Android 9 pie.

Access to XMLHttpRequest at ‘the url’ from origin ‘file://’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource’.

After I changed cleartextTrafficPermitted=“true” I am getting following error in my app.

My App Confuration

Posts: 1

Participants: 1

Read full topic

How to get phone/sim number using capacitor?

Ionic 4 and Angular 8: Radio Button and Checkbox in FormArray

Ionic 1 angular1 app crashes on iOS on scrolling

$
0
0

@chetandalvi wrote:

I am using below config

  1. Ionic 1
  2. Angular 1

This happens on iOS iphone X only

when scrolling the app just closes. No message . no error showing.

We are using ion-scroll and ion-infinite-scroll

Posts: 1

Participants: 1

Read full topic

How to remove item by expired date

$
0
0

@Tubiss wrote:

ı have json and ı can sort earlier very well but also ı want to remove item if it is past day (ı mean expired date).

loadProducts(){
  this.myProvider.load()
  .then(data => {
    console.log(data);
    this.products= data;
    this.products.sort((x,y) => new Date(x.start_time).getTime() - new Date(y.start_time).getTime());**// this is how to sort**
   
}

if it is expired date ; it want to delete automacally. so please help me

Posts: 1

Participants: 1

Read full topic


Mixing use angularJS and angular in ionic3

$
0
0

@roy800227 wrote:

mixing use angularJS and angular, i found the method in Angular’s official website and some blogs. then this method can applied in ionic3?

Posts: 1

Participants: 1

Read full topic

Use bluetooth component in ionic/react

Identifying and detecting the text through OCR (Alerting the saved text (if there or not )through OCR Scan)

$
0
0

@krishna12 wrote:

I explain a case scenario There will lot of chemical present in Shampoo 's like sulphate , ammonium sulphate etc which are very dangerous. So,In an application we have save those chemicals names as our preference to avoid them when scanned them OCR. 1.)Save those chemical names in your application . 2) Scanned with OCR and it should identify those chemicals and tells us to avoid if those are present.Like Allergens are present or safe 3.)After text has been extracted it should highlight those chemicals.

Posts: 1

Participants: 1

Read full topic

Ionic Live Deploy Picking Up Updates from Different App

Ionic cordova run android keeps targeting emulator

$
0
0

@vespinasgmailcom wrote:

Untili now I was using an Android emulator to test the native parts of my Ionic app. Suddenly, a days ago, the commad ionic cordova emulate android started to fail trying to upload the apk to the emulator, saying the device was offline (when it as not).

Now I have a real device, but the problem continues. I ran adb devices and I see the new real device and the emulator (offline) that cordova keeps trying to connect to. I’ve trying several solutions with success so far:

  • adb kill-server
  • adb start-server
  • Wipe data in the emulator
  • Looking for adb processes
  • ionic cordoba run android --target=deviceid
  • ionic cordoba run android --device=deviceid
  • ionic cordova run android -l -c --native-device

Finally last night I was able to deploy my app using adb install, but I will like to be able to use the cordova installer again. Any ideas of how to get rid of the ghostly emulator, or to force cordova to target my real device?

TIA

Posts: 1

Participants: 1

Read full topic

Splashscreen doesn't fade

$
0
0

@dve46 wrote:

Hello,
i just customized my Splashscreen and now I have an issue. It doesn’t fade anymore, even though i set “fadeInDuration” and “fadeOutDuration” in the “capacitor.config.json”. The odd thing is that I get a Splashscreen even if I comment out everything related to the capacitor SplashScreen plugin in the native android project. It seems like something else is responsible for the Splaschscreen which could also be the reason that I can’t really customize it. Thanks for your help!
dve46

Posts: 1

Participants: 1

Read full topic

Sliding back issue : 2 sliding back animations

$
0
0

@Alexgnz wrote:

Hello guys,

I have an issue with multiple component.
When I hit the back button, a glitch happens as you can see on the record. => Screen record on Imgur

My component structure is as follow :

<ion-header>
  <custom-header [hideBackButton]="false">
    <div class="navbar-title">Contenu de la commande</div>
  </custom-header>
</ion-header>
<ion-content scroll="false" class="nonscrollablecontent">
    <ion-card [ngStyle]="{'border-radius': '10px', 'position': 'fixed', 'bottom': '10px'}" [style.top]="ios ? '10%' : (android ? '30px' : '50px')">
    <ion-segment color="primary" style="padding-left: 10px; padding-right: 10px;padding-top: 10px;">
      <ion-segment-button>
        </ion-segment-button>
    </ion-segment>
    <div class="spacer" style="height:10px;"></div>
    <ion-content #ScrollList style="background-color: white;">
    <ion-list>
      <ion-item style="padding-left: 15px; padding-right: 15px;" *ngFor="let p of displayList">
        <ion-grid class="no-padding bottom-border" item-content>
          <ion-row align-items-center style="padding-bottom: 5px;">
          </ion-row>
          <ion-row align-items-center>
          </ion-row>
        </ion-grid>
      </ion-item>
    </ion-list>
  </ion-content>
  </ion-card>
</ion-content>

Do you guys maybe have a fix ?

Thanks a lot!

Have a great day

Posts: 1

Participants: 1

Read full topic


Problem when build android in ionic3

$
0
0

@smashsarun wrote:

Hello I have a problem that I can’t resolve.
It show this error when I want to build android using cordova build android and cordova run android
this is an error

...
:app:processDebugResourcesC:\Users\smash\.gradle\caches\transforms-1\files-1.1\browser-1.0.0.aar\091bc5c9f1936c796dbdda8e3e6d0c86\res\values\values.xml:7:5-71: AAPT: error: resource android:attr/fontVariationSettings not found.

C:\Users\smash\.gradle\caches\transforms-1\files-1.1\browser-1.0.0.aar\091bc5c9f1936c796dbdda8e3e6d0c86\res\values\values.xml:7:5-71: AAPT: error: resource android:attr/ttcIndex not found.

D:\Users\smash\Documents\GitHub\ParcelApplication\ParcelTrack\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:155: error: resource android:attr/fontVariationSettings not found.
D:\Users\smash\Documents\GitHub\ParcelApplication\ParcelTrack\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:155: error: resource android:attr/ttcIndex not found.
error: failed linking references.

Failed to execute aapt FAILED
25 actionable tasks: 1 executed, 24 up-to-date

com.android.ide.common.process.ProcessException: Failed to execute aapt
        at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:796)
        at com.android.build.gradle.tasks.ProcessAndroidResources.invokeAaptForSplit(ProcessAndroidResources.java:551)
        at com.android.build.gradle.tasks.ProcessAndroidResources.doFullTaskAction(ProcessAndroidResources.java:285)
        at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.java:109)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$IncrementalTaskAction.doExecute(DefaultTaskClassInfoStore.java:173)
        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134)
        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:121)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:122)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:111)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:92)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)
        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:63)
        at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88)
        at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)
        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:124)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:80)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:105)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:99)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:625)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:580)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:99)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
        at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:503)
        at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:482)
        at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79)
        at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:794)
        ... 48 more
Caused by: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
        at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:503)
        at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:462)
        at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79)
        at com.android.builder.internal.aapt.v2.QueueableAapt2.lambda$makeValidatedPackage$1(QueueableAapt2.java:179)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        ... 1 more
Caused by: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
        at com.android.builder.png.AaptProcess$NotifierProcessOutput.handleOutput(AaptProcess.java:463)
        at com.android.builder.png.AaptProcess$NotifierProcessOutput.err(AaptProcess.java:415)
        at com.android.builder.png.AaptProcess$ProcessOutputFacade.err(AaptProcess.java:332)
        at com.android.utils.GrabProcessOutput$1.run(GrabProcessOutput.java:104)

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Failed to execute aapt

and

BUILD FAILED in 6s
cmd: Command failed with exit code 1 Error output:
C:\Users\smash\.gradle\caches\transforms-1\files-1.1\browser-1.0.0.aar\091bc5c9f1936c796dbdda8e3e6d0c86\res\values\values.xml:7:5-71: AAPT: error: resource android:attr/fontVariationSettings not found.

C:\Users\smash\.gradle\caches\transforms-1\files-1.1\browser-1.0.0.aar\091bc5c9f1936c796dbdda8e3e6d0c86\res\values\values.xml:7:5-71: AAPT: error: resource android:attr/ttcIndex not found.

D:\Users\smash\Documents\GitHub\ParcelApplication\ParcelTrack\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:155: error: resource android:attr/fontVariationSettings not found.
D:\Users\smash\Documents\GitHub\ParcelApplication\ParcelTrack\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:155: error: resource android:attr/ttcIndex not found.
error: failed linking references.

Failed to execute aapt
com.android.ide.common.process.ProcessException: Failed to execute aapt
        at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:796)
        at com.android.build.gradle.tasks.ProcessAndroidResources.invokeAaptForSplit(ProcessAndroidResources.java:551)
        at com.android.build.gradle.tasks.ProcessAndroidResources.doFullTaskAction(ProcessAndroidResources.java:285)
        at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.java:109)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$IncrementalTaskAction.doExecute(DefaultTaskClassInfoStore.java:173)
        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134)
        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:121)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:122)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:111)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:92)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)
        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:63)
        at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88)
        at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)
        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:124)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:80)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:105)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:99)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:625)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:580)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:99)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
        at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:503)
        at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:482)
        at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79)
        at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:794)
        ... 48 more
Caused by: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
        at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:503)
        at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:462)
        at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79)
        at com.android.builder.internal.aapt.v2.QueueableAapt2.lambda$makeValidatedPackage$1(QueueableAapt2.java:179)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        ... 1 more
Caused by: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
        at com.android.builder.png.AaptProcess$NotifierProcessOutput.handleOutput(AaptProcess.java:463)
        at com.android.builder.png.AaptProcess$NotifierProcessOutput.err(AaptProcess.java:415)
        at com.android.builder.png.AaptProcess$ProcessOutputFacade.err(AaptProcess.java:332)
        at com.android.utils.GrabProcessOutput$1.run(GrabProcessOutput.java:104)

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Failed to execute aapt

please help me :cry:
Thanks

Posts: 1

Participants: 1

Read full topic

Problems with basic things to render

$
0
0

@kresogalic wrote:

Hello guys, I have basic problems with rendering UI components from docs. I tried to render for example basic ion-item with avatar and details.

<ion-item>
  <ion-avatar slot="start">
    <img [src]="avatar" />
  </ion-avatar>
  <ion-label>
    <h3>{{name}}</h3>
    <h3>{{address}}</h3>
    <p>{{numberId}}</p>
  </ion-label>
</ion-item>

And the problem is that styles aren’t good like it should be. I don’t know if i am missing something, or configuration is bad in ionic project or something else. Please help

Posts: 1

Participants: 1

Read full topic

Where should i give credintials of app to google play store to review my app

$
0
0

@ishaquemujtaba wrote:

HI Fellows,

I have submitted my app on google play store and it goes in pending to publish then I remember that my app need login credentials for review that I have does not give to google play store because I did not found where I have to give credentials for app to google play store that they can use and review my app, need help to find out a section where i have to give credentials to google play store…kindly provide answer with images it will help full for me as well as others who need help on this point,

Thanks in advance for your help

Posts: 1

Participants: 1

Read full topic

WorldPay Integration with Ionic 4, getting payment details through a provided template form

$
0
0

@alexasilock wrote:

Hello there,

So there is this Payment provider called World Pay, that enables applications to collect payment information via their own provided template form (https://beta.developer.worldpay.com/docs/wpop/template-form).

A working implementation of this for Angular can be found here:

Using this code I’ve manage to get it working for Android, but not on iOS. More specifically on the iOs builds the template form does not load, I just get a blank page.

PS:
I have added:

into the config.xml.

There is a lot of advise online to not use iframes and to use the in app browser instead, however I am not sure how to open the a browser pages when all I have is the address of a script (https://cdn.worldpay.com/v1/worldpay.js).

Any help would be greatly appreciated.

Posts: 1

Participants: 1

Read full topic

How to set default button in an Alert (Enter=OK)?

$
0
0

@jcn-ithaca wrote:

Is there a way to set a role on a button in an alert such that user pressing simulates a click on that button (e.g. “OK”, “Save”, etc…)

role:‘ok’ does not seem to work

Posts: 1

Participants: 1

Read full topic

Viewing all 71530 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>