• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Article and Tutorial Enquiry - Making App with Android Studio and Typescript [WebRTC]

Hello everyone,

Hope you are well! I am making a chat-roulette app (or chatting app) in Android Studio and following the tutorial-link with the following link from WebRTC: https://webrtc.ventures/2018/01/web...t-roulette-clone-using-kotlin-and-typescript/

I have carried out the typescript steps in the beginning, which worked successfully. But once I start using Android Studio, which is where I am having struggles, I see two ways of carrying out their tutorial:

1) To import or insert their codes that they have written in the boxes supported byGitHub, where they start to become red-coloured in my Android Studio. So when I run the app, there are errors stating: "requiring top level declaration" or "expecting a qualified name".

OR

2) Downloading their source code. However, as the whole file is bigger than just the app, it does not allow me to run the app, where the "Run app" button is grey(transparent).

Additional information: When I tried to follow your steps of creating .ts files, I put them all in the same path directory.

Could anyone here help me figuring out what the problem are? I look forward to hearing from you. Thanks for having read through my e-mail, and if there are any questions do not hesitate to contact me.

Yours sincerely,

Ashbeck Henderson
 
Please see attached pictures for references to my own thread:

- Pic 1 - Errors Shown in Red Colour When Following Steps (approach 1)
- Pic 2 - Errors Shown in Source Code (approach 2)
- Pic 3 - Additional Information on My Project Path Directory (additional pic)
 

Attachments

  • Pic 1 - Error in Red Colour When Following Steps.png
    Pic 1 - Error in Red Colour When Following Steps.png
    223.5 KB · Views: 367
  • Pic 2 - Error in Source Code.png
    Pic 2 - Error in Source Code.png
    152.9 KB · Views: 364
  • Pic 3 - Additional Information on My Project Path Directory.png
    Pic 3 - Additional Information on My Project Path Directory.png
    156.4 KB · Views: 179
Back
Top Bottom