Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Fixed Issue# 195 and other errors that were causing initial build issues after cloning repo #198

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ghost
Copy link

@ghost ghost commented Jun 29, 2019

Upon cloning the project from this repository and building in Android Studio we get the following errors and warning in couple of different files as shown in commits.

1. ERROR: Failed to find Platform SDK with path: platforms;android-Q (FIXED)
2. ERROR: Smart cast to 'Location' is impossible, because 'task.result' is a property that has open or
custom getter (FIXED)
3. WARNING: Type mismatch: inferred type is String? but String was expected (FIXED)

After fixing these issues the project build successfully and sample apps were tested in emulator and they were running properly.

Changed targetSdkVersion from 'Q' to 29.
…sult' is a property that has open or custom getter on line 91.

Assigend the value of task.result to a new variable 'mLastLocation' before the if condition and and used 'mLastLocation' instead of task.result to avoid smart cast error.
… expected on line 160.

Changed private var addressOutput = ""   to   private var addressOutput : String? = "" on line 91.
@codingjeremy codingjeremy added the migrated googlesamples Migrated from old googlesamples repos label Sep 24, 2019
@ghost
Copy link
Author

ghost commented Jan 24, 2020

Can someone please guide me on what the conflicts are ?

@codingjeremy codingjeremy changed the base branch from master to main September 29, 2020 19:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
migrated googlesamples Migrated from old googlesamples repos
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants