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

Unable to build in android 4.2.2 #12

Open
kunalvaibhav opened this issue Jul 13, 2021 · 8 comments
Open

Unable to build in android 4.2.2 #12

kunalvaibhav opened this issue Jul 13, 2021 · 8 comments

Comments

@kunalvaibhav
Copy link

kunalvaibhav commented Jul 13, 2021

android studio unable to load app from source code, no gradle option is available, no make/build available.

please provide steps to build and run this app.
Git_WhatsappClone_NotWorkingIssue

@gnongsiej
Copy link

Don't import the root directory. Import only the "WhatsApp" directory.

@kunalvaibhav
Copy link
Author

kunalvaibhav commented Jan 10, 2022

It is not simply buildable.
project has many build issues and resource file missing.
Sync done by upgrading gradle, managing additional resources etc.
but it is still failing due to error in code
image

@gnongsiej
Copy link

Try this pull request : #13 .

Alternatively, you can use my fork : gnongsiej/WhatsApp-Clone

The build issues are fixed. But there are some things that need to be done in order to make it work -- mainly integration with Firebase.

@gnongsiej
Copy link

@kunalvaibhav : Did that help?

@kunalvaibhav
Copy link
Author

kunalvaibhav commented Jan 12, 2022

sadly no, I used gnongsiej/WhatsApp-Clone
and got android studio version error thrown.
I am using Android studio 4.2.2
image

image

@gnongsiej
Copy link

I am using the latest version which is available on the site: 2020.3.1. Maybe try that.

I'm sorry but I cannot downgrade to 4.2.2 now.

@kunalvaibhav
Copy link
Author

kunalvaibhav commented Jan 27, 2022

First of all Thanks @gnongsiej.
I upgraded Android studio to latest version 2020.3.1 patch 4.
Able to sync your fork https://github.com/gnongsiej/WhatsApp-Clone
but installation failed due to below error:
Algorithm HmacPBESHA256 not available
(debug.keystore: Integrity check failed: java.security.NoSuchAlgorithmException: Algorithm HmacPBESHA256 not available)

is keystore file missing or I need to generate it? and what about about Algo error?

@gnongsiej
Copy link

I obviously did not include my keystore. You will need to generate your own certificate and add it to the keystone. If I am not mistaken, it is part of the setup for Firebase things. Basically, you need a certificate to communicate to your Firebase instance.

The algorithm error is probably dependent on how Firebase sets up the certificate to use.

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