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

On Windows, there is a build folder in the zip package packaged by code-push-go, resulting in an update error #9

Open
skylarklxlong opened this issue Nov 8, 2024 · 2 comments

Comments

@skylarklxlong
Copy link

error log

[CodePush] Update is invalid - A JS bundle file named "index.android.bundle" could not be found within the downloaded contents. Please check that you are releasing your CodePush updates using the exact same JS bundle file name that was shipped with your app's binary.

error image
image

code-push-go build

set GOARCH=amd64
set GOOS=linux #or windows not available
go build -o code-push-go.exe main.go
mv code-push-go(.exe) <You project>

code-push-go create_bundle

./code-push-go create_bundle -t 1.1.1 -n xxx-Android -d TEST --description \"修复已知问题;优化使用体验;\"
@skylarklxlong
Copy link
Author

On MacOS is OK !
image

@htdcx
Copy link
Owner

htdcx commented Nov 14, 2024

Try v1.0.3

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