android / android/app-bundle-samples

Please add example for PlayAssetDelivery java

Aperta
#61 1 commento 0 reazioni 2 assegnatari Rivendicata da @ShenshenCui Vedi su GitHub
Lingua principale
C++
Stelle
735
Fork
348
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I was trying to implement `Play Asset Delivery` for `java` from [here](https://developer.android.com/guide/app-bundle/asset-delivery/build-native-java). But then there were 2 problems with that:
1. Step number 9 [here](https://developer.android.com/guide/app-bundle/asset-delivery/build-native-java) didn't work for me. ( I am using ```classpath 'com.android.tools.build:gradle:4.0.0-rc01'``` and `distributionUrl=https\://services.gradle.org/distributions/gradle-6.2.2-bin.zip` in my project)
2. There was no error due to step1 but when I tried to get the asset from AssetManager it was throwing exception `java.io.FileNotFoundException: asset1.mp4`.
Please add code for reference.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.