Application Sync Failure And FireBase ML Kit
- shusrushabezugam
- Apr 10, 2019
- 2 min read
Updated: Apr 24, 2019
Android project was unable to sync with gradle build. It was one of the biggest issue I was unable to solve.
I tried cleaning the build and rebuilding the project for many times but it did not work.
I also tried running android commands in the console but it did not work.
I tried restarting the application as well
I checked the manifest file and all tags were in correct order.
Finally, I had to create a complete new project with new gradle dependencies in build, was able to connect the previous Firebase project from Firebase Console and made many changes based on old project.
Firebase ML Kit
In my project, Valet user is supposed to recognize the number plate of the car. To achieve this I founded out that I have use Optical Character Recognition. I figured out that Firebase has a feature for recognizing the text and detecting text in the image and processing the text.I was in search of exactly same Text recognition.
I felt it be very easy for me to build the text recognition functionality. But I realized that I have learn about all the methods and components used for Text Recognition.
Learning how to use camera in Android emulator.
I need images of number plates of different cars.
Recognize text and store it in String object for future encoding purpose.
I started learning about how camera works in Android, faced many build failures and manifest merge errors. Figured it out gradually and took more than 3 days for me to understand the camera and adding camera features in to the project.
Picked few images from google images as of now, as I am trying to build a prototype.
Figured out that I can Zxing dependencies for encoding the text and generating QR code. Added required dependencies in to the gradle build at the app level. I followed many tutorials from all over the web.
I watched many youtube videos to understand the concepts.I took more than 5 days to understand and implement all the functionalities in my prototype.
References:
Comments