Skip to content

Unable to compile ( cannot find symbol ) #448

@ka05

Description

@ka05

Followed getting started guide on Readme. Went to run and got these errors during the build.
Cloned v2.52.17

/Users/someone/git/Project/app/src/main/lib/sweetblue/library/src/main/java/com/idevicesinc/sweetblue/BleManager.java:165: error: cannot find symbol
	public static interface DiscoveryListener extends GenericListener_Void<DiscoveryEvent> {
	                                                  ^
  symbol:   class GenericListener_Void
  location: class BleManager
/Users/someone/git/Project/app/src/main/lib/sweetblue/library/src/main/java/com/idevicesinc/sweetblue/BleManager.java:165: error: cannot find symbol
	public static interface DiscoveryListener extends GenericListener_Void<DiscoveryEvent> {
	                                                                       ^
  symbol:   class DiscoveryEvent
  location: class BleManager
/Users/someone/git/Project/app/src/main/lib/sweetblue/library/src/main/java/com/idevicesinc/sweetblue/BleManager.java:369: error: cannot find symbol
	public static interface UhOhListener extends GenericListener_Void<UhOhListener.UhOhEvent> {
	                                             ^
  symbol:   class GenericListener_Void
  location: class BleManager
/Users/someone/git/Project/app/src/main/lib/sweetblue/library/src/main/java/com/idevicesinc/sweetblue/BleManager.java:555: error: cannot find symbol
		public static class UhOhEvent extends Event {
		                                      ^
  symbol:   class Event
  location: interface UhOhListener
/Users/someone/git/Project/app/src/main/lib/sweetblue/library/src/main/java/com/idevicesinc/sweetblue/BleManager.java:554: error: cannot find symbol
		@Immutable
		 ^
  symbol:   class Immutable
  location: interface UhOhListener
5 errors

I think it must have something to do with the @immutable annotation as that is a custom annotation definition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions