最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

android - Bubblewrap not generating assetlinks.json automatically - Stack Overflow

matteradmin7PV0评论

I'm using Bubblewrap to build a Trusted Web Activity (TWA) and expected it to generate the assetlinks.json file as part of the process. However, it doesn't seem to create the file.

Indeed, I used a local keystore for signing for local debugging, but also tested using app signing from the Google Play Console. The Google documentation that says Bubblewrap should generate the assetlinks.json automatically, but it never does.

Is there a step I'm missing, or does Bubblewrap require manual creation of the assetlinks.json file?

Steps to reproduce:

  1. Run bubblewrap init and configure the TWA project.
  2. Use either a local keystore or Play Console app signing.
  3. Run bubblewrap build.

The assetlinks.json file should be generated automatically according to Google ChromeOS docs, although the file is not generated.

Do you have any suggestion?

I'm using Bubblewrap to build a Trusted Web Activity (TWA) and expected it to generate the assetlinks.json file as part of the process. However, it doesn't seem to create the file.

Indeed, I used a local keystore for signing for local debugging, but also tested using app signing from the Google Play Console. The Google documentation that says Bubblewrap should generate the assetlinks.json automatically, but it never does.

Is there a step I'm missing, or does Bubblewrap require manual creation of the assetlinks.json file?

Steps to reproduce:

  1. Run bubblewrap init and configure the TWA project.
  2. Use either a local keystore or Play Console app signing.
  3. Run bubblewrap build.

The assetlinks.json file should be generated automatically according to Google ChromeOS docs, although the file is not generated.

Do you have any suggestion?

Share Improve this question asked Nov 16, 2024 at 11:24 DeleterDeleter 8101 gold badge12 silver badges33 bronze badges 1
  • 1 I found out, in new versions, Bubblewrap doesn't automatically generate the assetlinks.json file during the build step, even though the documentation suggests it might. I need to manually create the file using your app's signing information (SHA256) provided by Google Play (App signing page) or using keytool command on my own local keystore – Deleter Commented Nov 19, 2024 at 12:06
Add a comment  | 

1 Answer 1

Reset to default 0

As I said in the comments, I found out, in new versions, Bubblewrap doesn't automatically generate the assetlinks.json file during the build step, even though the documentation suggests it might.

Thus, I need to manually create the file using your app's signing information (SHA256) provided by Google Play (App signing page) or using keytool command on my own local keystore – Deleter

Post a comment

comment list (0)

  1. No comments so far