cordova-plugin-android-permissions icon indicating copy to clipboard operation
cordova-plugin-android-permissions copied to clipboard

android build faild

Open htut-git opened this issue 2 years ago • 1 comments

when i build android i got this error i use ionic "cordova-android": "^10.1.2", "ionic-angular": "3.9.2", typescript: node_modules/@awesome-cordova-plugins/core/decorators/common.d.ts, line: 18 Cannot find name 'unknown'.

  L18:  ction wrapPromise(pluginObj: any, methodName: string, args: any[], opts?: CordovaOptions): Promise<unknown>;

[15:32:26] ionic-app-script task: "build" [15:32:26] Error: Failed to transpile program

htut-git avatar Jun 13 '23 09:06 htut-git

solve this i change unknown to any and then i got this error

ERROR Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'Injectable') TypeError: Cannot read properties of undefined (reading 'Injectable')

htut-git avatar Jun 14 '23 02:06 htut-git