Git Product home page Git Product logo

android-quickstart-platform's People

Contributors

robertmryan avatar samiahmedsiddiqui avatar techwritermat avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

vinsu isabella232

android-quickstart-platform's Issues

error: cannot find symbol import com.pubnub.api.models.consumer.pubsub.objects.PNMembershipResult

I'm sure it’s something basic, but I've cloned this repo, opened it in Android Studio, replaced the keys, and get this error message on line 22 of MainActivity.java:

/.../android-quickstart-platform/app/src/main/java/com/pubnub/android/pnquickstart/MainActivity.java:22: error: cannot find symbol
import com.pubnub.api.models.consumer.pubsub.objects.PNMembershipResult;
                                                    ^
  symbol:   class PNMembershipResult
  location: package com.pubnub.api.models.consumer.pubsub.objects

I'm getting a similar warning for all three of these import statements:

import com.pubnub.api.models.consumer.pubsub.objects.PNMembershipResult;
import com.pubnub.api.models.consumer.pubsub.objects.PNSpaceResult;
import com.pubnub.api.models.consumer.pubsub.objects.PNUserResult;

Also, on line 48 I'm receiving:

/.../android-quickstart-platform/app/src/main/java/com/pubnub/android/pnquickstart/MainActivity.java:48: error: <anonymous com.pubnub.android.pnquickstart.MainActivity$1> is not abstract and does not override abstract method file(PubNub,PNFileEventResult) in SubscribeCallback
        pubnub.addListener(new SubscribeCallback() {
                                                   ^

I'm assuming that there is something basic that I’m overlooking. Any guidance you can offer would be greatly appreciated.

In case it’s relevant, here is my configuration:

Android Studio 4.0.1
Build #AI-193.6911.18.40.6626763, built on June 24, 2020
Runtime version: 1.8.0_242-release-1644-b3-6222593 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.15.6
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 12
Registry: ide.new.welcome.screen.force=true
Non-Bundled Plugins: org.jetbrains.kotlin, com.google.services.firebase

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.