Computer Science, asked by soumjoshi273, 10 months ago

how to combine java with android studio?​

Answers

Answered by punamnimbalkar1234
4

Answer:

1.open the android project in android studio.

2.Click File new module .

select java library and click next.

3.Fill your package name .etc.and click finish.

Now you can see a java module inside your android project.

4.Add your code to java module which you have just created .

5.Click the drop button which is on left of run button. And click Edit Configurations.

6.In the new window click on click on the plus sign and select application.

7.Here the new application configuration will appear.Enter details.

8.Click OK

IF YOU CLICK RUN IT WILL RUN YOUR JAVA MODULE.......

Answered by bindushree1
1

Answer:

I hope this helps u

Have a nice day

Attachments:
Similar questions