Skip to content

Instantly share code, notes, and snippets.

@prvn2004
prvn2004 / GSOC work log
Created August 24, 2023 18:17
This is work log for GSOC Project. This Log contains every work done by me and Details about bugs and how i reached solutions and some other stuff.
### Day 01 working (21 April) :
- Preparing code in android studio and searching for location instances in the app and core modules to work on. And figuring out things and preparing new docs.
Output: I found a few files containing code related to location and setting files containing code for fragments and activity and how they work together.
### Day 02 working (23 April) :
- To ensure everything works, it is essential to understand the code for the location toolkit and attempt to implement a method from the tool into the app.
@prvn2004
prvn2004 / gist:aaedd20e35c2483dd68034d32561c5a3
Created July 3, 2023 15:06
Duplicate class dependency resolution error.
Duplicate class com.mapbox.mapboxsdk.utils.AnimatorUtils$OnAnimationEndListener found in modules jetified-android-sdk-10.0.2-runtime (org.maplibre.gl:android-sdk:10.0.2) and jetified-mapbox-android-sdk-9.2.1-runtime (com.mapbox.mapboxsdk:mapbox-android-sdk:9.2.1)
Duplicate class com.mapbox.mapboxsdk.utils.BitmapUtils found in modules jetified-android-sdk-10.0.2-runtime (org.maplibre.gl:android-sdk:10.0.2) and jetified-mapbox-android-sdk-9.2.1-runtime (com.mapbox.mapboxsdk:mapbox-android-sdk:9.2.1)
Duplicate class com.mapbox.mapboxsdk.utils.ColorUtils found in modules jetified-android-sdk-10.0.2-runtime (org.maplibre.gl:android-sdk:10.0.2) and jetified-mapbox-android-sdk-9.2.1-runtime (com.mapbox.mapboxsdk:mapbox-android-sdk:9.2.1)
Duplicate class com.mapbox.mapboxsdk.utils.Compare found in modules jetified-android-sdk-10.0.2-runtime (org.maplibre.gl:android-sdk:10.0.2) and jetified-mapbox-android-sdk-9.2.1-runtime (com.mapbox.mapboxsdk:mapbox-android-sdk:9.2.1)
Duplicate class com.mapbox.mapboxsdk.utils.FileU
const express = require('express');
const admin = require('firebase-admin');
const axios = require('axios');
const { v4: uuidv4 } = require('uuid');
const morgan = require('morgan');
const ip = '192.168.195.167';
const https = require('https');
// Initialize Firebase Admin SDK
const serviceAccount = require('./credentials/firebase-credentials.json');
> Task :org.envirocar.obd:compileDebugAndroidTestJavaWithJavac FAILED
/home/prvn2004/Desktop/GSOC'23/Envocar-location_toolkit/enviroCar-app-GSOC/org.envirocar.obd/src/androidTest/java/org/envirocar/obd/commands/response/PIDSupportedTest.java:21: error: package android.test does not exist
import android.test.InstrumentationTestCase;
^
/home/prvn2004/Desktop/GSOC'23/Envocar-location_toolkit/enviroCar-app-GSOC/org.envirocar.obd/src/androidTest/java/org/envirocar/obd/commands/response/PIDSupportedTest.java:35: error: cannot find symbol
public class PIDSupportedTest extends InstrumentationTestCase {
^
symbol: class InstrumentationTestCase
/home/prvn2004/Desktop/GSOC'23/Envocar-location_toolkit/enviroCar-app-GSOC/org.envirocar.obd/src/androidTest/java/org/envirocar/obd/commands/response/ResponseParserTest.java:21: error: package android.test does not exist
import android.test.InstrumentationTestCase;
/**
* Copyright (C) 2013 - 2021 the enviroCar community
* <p>
* This file is part of the enviroCar app.
* <p>
* The enviroCar app is free software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
buildFeatures {
viewBinding true
}