mikehardy / react-native-update-apk

Update apk from non-play store servers, and update ios from app store in React Native.
MIT License
195 stars 57 forks source link

No package identifier when getting name for resource number #36

Open rafalkowalewski opened 4 years ago

rafalkowalewski commented 4 years ago

Hi,

When I try download and install apk for the first time, I get log "No package identifier when getting name for resource number 0x00000000" on Android terminal. After retrying everything is ok.

Any idea?

13:34:43.5440[debug][Downloader]:EMIT: 62.0, TOTAL:1555961613:34:43.5920[debug][Downloader]:EMIT: 63.0, TOTAL:1581836813:34:43.6410[debug][Downloader]:EMIT: 64.0, TOTAL:1606892813:34:43.6900[debug][Downloader]:EMIT: 65.0, TOTAL:1631948813:34:43.7360[debug][Downloader]:EMIT: 66.0, TOTAL:1657004813:34:43.7830[debug][Downloader]:EMIT: 67.0, TOTAL:1682912013:34:43.8330[debug][Downloader]:EMIT: 68.0, TOTAL:1707968013:34:43.8790[debug][Downloader]:EMIT: 69.0, TOTAL:1733024013:34:43.9200[debug][Downloader]:EMIT: 70.0, TOTAL:1758899213:34:43.9660[debug][Downloader]:EMIT: 71.0, TOTAL:1783955213:34:44.0150[debug][Downloader]:EMIT: 72.0, TOTAL:1809011213:34:44.0660[debug][Downloader]:EMIT: 73.0, TOTAL:1834067213:34:44.1110[debug][Downloader]:EMIT: 74.0, TOTAL:1859974413:34:44.1680[debug][Downloader]:EMIT: 75.0, TOTAL:1885030413:34:44.2130[debug][Downloader]:EMIT: 76.0, TOTAL:1910086413:34:44.2790[debug][Downloader]:EMIT: 77.0, TOTAL:1935961613:34:44.3180[debug][Downloader]:EMIT: 78.0, TOTAL:1961017613:34:44.3710[debug][Downloader]:EMIT: 79.0, TOTAL:1986073613:34:44.4070[debug][Downloader]:EMIT: 80.0, TOTAL:2011129613:34:44.4620[debug][Downloader]:EMIT: 81.0, TOTAL:2037036813:34:44.5050[debug][Downloader]:EMIT: 82.0, TOTAL:2062092813:34:44.5660[debug][Downloader]:EMIT: 83.0, TOTAL:2087148813:34:44.5990[debug][Downloader]:EMIT: 84.0, TOTAL:2113024013:34:44.6440[debug][Downloader]:EMIT: 85.0, TOTAL:2138080013:34:44.6960[debug][Downloader]:EMIT: 86.0, TOTAL:2163136013:34:44.7460[debug][Downloader]:EMIT: 87.0, TOTAL:2188192013:34:44.7950[debug][Downloader]:EMIT: 88.0, TOTAL:2214099213:34:44.8480[debug][Downloader]:EMIT: 89.0, TOTAL:2239155213:34:44.8870[debug][Downloader]:EMIT: 90.0, TOTAL:2264211213:34:44.9350[debug][Downloader]:EMIT: 91.0, TOTAL:2290086413:34:44.9970[debug][Downloader]:EMIT: 92.0, TOTAL:2315142413:34:45.0470[debug][Downloader]:EMIT: 93.0, TOTAL:2340198413:34:45.0860[debug][Downloader]:EMIT: 94.0, TOTAL:2365254413:34:45.1340[debug][Downloader]:EMIT: 95.0, TOTAL:2391161613:34:45.3850[debug][Downloader]:EMIT: 96.0, TOTAL:2416217613:34:45.6520[debug][Downloader]:EMIT: 97.0, TOTAL:2441273613:34:45.6990[debug][Downloader]:EMIT: 98.0, TOTAL:2467148813:34:45.7460[debug][Downloader]:EMIT: 99.0, TOTAL:2492204813:34:45.7830[debug][Downloader]:EMIT: 100.0, TOTAL:2517260813:34:45.8100[debug][Downloader]:EMIT: 100.0, TOTAL:2529664213:34:45.8880[warn][ResourceType]:No package identifier when getting name for resource number 0x00000000

mikehardy commented 4 years ago

@rafalkowalewski sorry, I haven't seen this Looks like it might be something at the system level? https://stackoverflow.com/questions/3399774/error-no-package-identifier-when-getting-value-for-resource-number May be device and/or operating system specific, but as mentioned I've never seen it

If you can reproduce on an emulator with the example app please specify exactly how to do so (unless this is it! at which point I'll try it)

Thanks

rafalkowalewski commented 4 years ago

Ok, if I know how to reproduce it on emulator, I will let you know :)

Thank you for your fast reply 😄