Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android build faild #123

Open
htut-git opened this issue Jun 13, 2023 · 1 comment
Open

android build faild #123

htut-git opened this issue Jun 13, 2023 · 1 comment

Comments

@htut-git
Copy link

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
Copy link
Author

htut-git commented Jun 14, 2023

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')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant