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

Could not open apk file #159

Open
UmarbekSaidov opened this issue Jun 29, 2024 · 1 comment
Open

Could not open apk file #159

UmarbekSaidov opened this issue Jun 29, 2024 · 1 comment

Comments

@UmarbekSaidov
Copy link

My code:

const apkPath = './src/app.apk';
      await FileViewer.open(apkPath, {
        showOpenWithDialog: true,
        showAppsSuggestions: true,
      });

result:

[Error: Failed to find configured root that contains /src/app.apk]

@MukulKumar09
Copy link

Only absolute paths are accepted. You've given a relative path. And apk support is imperfect. It won't do anything when opening apk. But if there are multiple package installers in your device, it'll ask to choose one, and then you can install the apk.

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

2 participants