WordPress LMS for Web and mobile Forums Ionic App Support error generated unsigned apk

error generated unsigned apk

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #20360

    fahri arif
    Participant

    /friendlytime’;
    L12:  import { QuestionComponent } from ‘../../components/question/questio
    n’;
    L13:  import { TimerComponent } from ‘../../components/timer/timer’;

    [17:17:46]  tslint: D:/Try/nyoba/src/pages/course-status/course-status.ts, line:
    13
    All imports on this line are unused.

    L12:  import { QuestionComponent } from ‘../../components/question/questio
    n’;
    L13:  import { TimerComponent } from ‘../../components/timer/timer’;

    [17:17:46]  tslint: D:/Try/nyoba/src/pages/course-status/course-status.ts, line:
    15
    All imports on this line are unused.

    L15:  import { Course } from ‘../../models/course’;
    L16:  import { Activity } from ‘../../models/activity’;

    [17:17:46]  tslint: D:/Try/nyoba/src/pages/course-status/course-status.ts, line:
    16
    All imports on this line are unused.

    L15:  import { Course } from ‘../../models/course’;
    L16:  import { Activity } from ‘../../models/activity’;
    L17:  import { ActivityMeta } from ‘../../models/activity’;

    [17:17:46]  tslint: D:/Try/nyoba/src/pages/course-status/course-status.ts, line:
    17
    All imports on this line are unused.

    L16:  import { Activity } from ‘../../models/activity’;
    L17:  import { ActivityMeta } from ‘../../models/activity’;
    L18:  import { User } from ‘../../models/user’;

    [17:17:46]  tslint: D:/Try/nyoba/src/pages/course-status/course-status.ts, line:
    18
    All imports on this line are unused.

    L17:  import { ActivityMeta } from ‘../../models/activity’;
    L18:  import { User } from ‘../../models/user’;
    L19:  import { CourseStatus } from ‘../../models/status’;

    [17:17:46]  tslint: D:/Try/nyoba/src/pages/course-status/course-status.ts, line:
    29
    All imports on this line are unused.

    L29:  import { Storage } from ‘@ionic/storage’;

    [17:17:46]  tslint: D:/Try/nyoba/src/pages/course-status/course-status.ts, line:
    31
    All imports on this line are unused.

    L31:  import {AbsoluteDrag} from ‘../../components/absolute-drag/absolute-
    drag’;
    L32:  import {PinchZoomDirective} from ‘../../directives/pinch-zoom.direct
    ive’;

    [17:17:46]  tslint: D:/Try/nyoba/src/pages/course-status/course-status.ts, line:
    32
    All imports on this line are unused.

    L31:  import {AbsoluteDrag} from ‘../../components/absolute-drag/absolute-
    drag’;
    L32:  import {PinchZoomDirective} from ‘../../directives/pinch-zoom.direct
    ive’;

    [17:17:46]  tslint: D:/Try/nyoba/src/pages/course-status/course-status.ts, line:
    36
    All imports on this line are unused.

    L36:  import { SafeHtmlPipe } from “../../pipes/orderby”;
    L37:  import { SafePipe } from “../../pipes/orderby”;

    [17:17:46]  tslint: D:/Try/nyoba/src/pages/course-status/course-status.ts, line:
    37
    All imports on this line are unused.

    L36:  import { SafeHtmlPipe } from “../../pipes/orderby”;
    L37:  import { SafePipe } from “../../pipes/orderby”;

    [17:17:46]  tslint: D:/Try/nyoba/src/pages/profile/profile.ts, line: 91
    Property ‘formBuilder’ is declared but its value is never read.

    L90:  private storage:Storage,
    L91:  private formBuilder:FormBuilder,
    L92:  private loadingCtrl:LoadingController,

    [17:17:46]  tslint: D:/Try/nyoba/src/pages/profile/profile.ts, line: 1
    ‘OnInit’ is declared but its value is never read.

    L1:  import { Component, OnInit, ViewChild } from ‘@angular/core’;
    L2:  import { Content,NavController,ViewController,LoadingController, Toa
    stController,ActionSheetController,AlertController, NavParams, Slides,Platform }
    from ‘ionic-angular’;

    [17:17:46]  tslint: D:/Try/nyoba/src/pages/profile/profile.ts, line: 3
    ‘FormBuilder’ is declared but its value is never read.

    L2:  import { Content,NavController,ViewController,LoadingController, Toa
    stController,ActionSheetController,AlertController, NavParams, Slides,Platform }
    from ‘ionic-angular’;
    L3:  import { FormBuilder, FormGroup,FormControl, Validators, } from ‘@an
    gular/forms’;

    [17:17:46]  tslint: D:/Try/nyoba/src/pages/profile/profile.ts, line: 3
    ‘FormGroup’ is declared but its value is never read.

    L2:  import { Content,NavController,ViewController,LoadingController, Toa
    stController,ActionSheetController,AlertController, NavParams, Slides,Platform }
    from ‘ionic-angular’;
    L3:  import { FormBuilder, FormGroup,FormControl, Validators, } from ‘@an
    gular/forms’;

    [17:17:46]  tslint: D:/Try/nyoba/src/pages/profile/profile.ts, line: 3
    ‘FormControl’ is declared but its value is never read.

    L2:  import { Content,NavController,ViewController,LoadingController, Toa
    stController,ActionSheetController,AlertController, NavParams, Slides,Platform }
    from ‘ionic-angular’;
    L3:  import { FormBuilder, FormGroup,FormControl, Validators, } from ‘@an
    gular/forms’;

    [17:17:46]  tslint: D:/Try/nyoba/src/pages/profile/profile.ts, line: 24
    All imports on this line are unused.

    L23:  import { ResultPage } from ‘../result/result’;
    L24:  import { FriendlytimeComponent } from ‘../../components/friendlytime
    /friendlytime’;

    [17:17:46]  tslint: D:/Try/nyoba/src/pages/profile/profile.ts, line: 26
    All imports on this line are unused.

    L26:  import { PressDirective } from ‘../../directives/longPress.directive
    ‘;
    L27:  import { TabsPage } from ‘../tabs/tabs’;

    [17:17:46]  tslint: D:/Try/nyoba/src/pages/profile/profile.ts, line: 29
    All imports on this line are unused.

    L29:  import { Storage } from ‘@ionic/storage’;
    L30:  import { Camera, CameraOptions } from ‘@ionic-native/camera’;

    \ Running command [17:17:46]  lint finished in 7.43 s
    × Running command – failed!
    [ERROR] An error occurred while running cordova build android –release (exit

    code 1):

    (truncated) … atingTaskExecuter.java:58)
    at
    org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter
    .execute(SkipEmptySourceFilesTaskExecuter.java:88)
    at
    org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExec
    uter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)
    at
    org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.ex
    ecute(SkipTaskWithNoActionsExecuter.java:52)
    at
    org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(S
    kipOnlyIfTaskExecuter.java:54)
    at
    org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.ex
    ecute(ExecuteAtMostOnceTaskExecuter.java:43)
    at
    org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execu
    te(CatchExceptionTaskExecuter.java:34)
    at
    org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskW
    orker$1.run(DefaultTaskGraphExecuter.java:248)
    at
    org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuild
    OperationWorker.execute(DefaultBuildOperationExecutor.java:336)
    at
    org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuild
    OperationWorker.execute(DefaultBuildOperationExecutor.java:328)
    at
    org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(Defau
    ltBuildOperationExecutor.java:197)
    at
    org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBu
    ildOperationExecutor.java:107)
    at
    org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskW
    orker.execute(DefaultTaskGraphExecuter.java:241)
    at
    org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskW
    orker.execute(DefaultTaskGraphExecuter.java:230)
    at
    org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorke
    r.processTask(DefaultTaskPlanExecutor.java:124)
    at
    org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorke
    r.access$200(DefaultTaskPlanExecutor.java:80)
    at
    org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorke
    r$1.execute(DefaultTaskPlanExecutor.java:105)
    at
    org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorke
    r$1.execute(DefaultTaskPlanExecutor.java:99)
    at
    org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultT
    askExecutionPlan.java:625)
    at
    org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(
    DefaultTaskExecutionPlan.java:580)
    at
    org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorke
    r.run(DefaultTaskPlanExecutor.java:99)
    at
    org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onE
    xecute(ExecutorPolicy.java:63)
    at
    org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutor
    Impl.java:46)
    at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav
    a:1142)
    at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
    va:617)
    at
    org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.r
    un(ThreadFactoryImpl.java:55)
    at java.lang.Thread.run(Thread.java:745)
    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(AbstractFu
    ture.java:503)
    at
    com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java
    :482)
    at
    com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(Abstr
    actFuture.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(AbstractFu
    ture.java:503)
    at
    com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java
    :462)
    at
    com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(Abstr
    actFuture.java:79)
    at
    com.android.builder.internal.aapt.v2.QueueableAapt2.lambda$makeValidated
    Package$1(QueueableAapt2.java:179)
    at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav
    a:1142)
    at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
    va:617)
    … 1 more
    Caused by: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check
    logs for details
    at
    com.android.builder.png.AaptProcess$NotifierProcessOutput.handleOutput(A
    aptProcess.java:454)
    at
    com.android.builder.png.AaptProcess$NotifierProcessOutput.err(AaptProces
    s.java:411)
    at
    com.android.builder.png.AaptProcess$ProcessOutputFacade.err(AaptProcess.
    java:332)
    at com.android.utils.GrabProcessOutput$1.run(GrabProcessOutput.j
    ava:104)

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ‘:app:processReleaseResources’.
    > Failed to execute aapt

    * Try:
    Run with –stacktrace option to get the stack trace. Run with –info or

    –debug option to get more log output.

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

    BUILD FAILED in 3m 22s

    D:\Try\nyoba>

    #20451

    Scott Lang
    Keymaster

    please specify what you are trying to ->

    For browser view to your app :  ionic serve 

    1- Unsigned App build (After unsigned apk you have to sign this apk file then you can upload apk to playstore)
    :  ionic cordova build –release android

    2-Android debug apk  (this type of app not able to upload to playstore)   : ionic cordova build android

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.