Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

fastlane: [!] Google Api Error: Invalid request - Package not found: com.example.todo

I am using React-native for my app. I have named my name reactamplify. I want to deploy my app to Google play-store. For automation deployment I am using first time fastlane. I found this documentation, follow the steps and give API grant access. In my React native app, I navigate to android folder then run this command fastlane init. Give json_key_file path my downloaded auth json file. But I got confused about package name. I search my app name in vscode com.reactamplify replace them into com.example.todo. Then run android folder fastlane supply init, I am getting this error: [!] Google Api Error: Invalid request - Package not found: com.example.todo. I really don't know how to fix it :(. Really lost TBH.

When I run fastlane supply. I got this image

enter image description here

PS: It would be awesome if someone gives me example with images

like image 907
Krisna Avatar asked Nov 24 '25 11:11

Krisna


1 Answers

I found the reason. I need to upload at least one build to google Play store app manually. That’s why I got package name error.

like image 69
Krisna Avatar answered Nov 27 '25 00:11

Krisna



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!