Skip to content

IDE AndroidStudio

wenzhining edited this page Dec 3, 2018 · 4 revisions

IDE AndroidStudio

AndroidStudio->Preference..->Plugins->Browse reprositories...

image

Search Luakit and install Luakit plugin and restart androidstudio

image

Open Project Struture window

image

Select Modules and Mark as Sources

image

Select Edit Configurations ...

image

Select plus

image

Add Lua Remote(Mobdebug)

image

Before you debug in androidstudio, we need add the follow code, there are two params , first is your computer ip address, second is the connecting port ,default is 8172.

require("mobdebug").start("172.25.129.165", 8172)

image

Here are some tips for debuging on the device , if your device can not locate in the same network segment, you can open your device's hotspot and connect your computer to your device's hotspot, now you can debug your device

image

image

You can’t perform that action at this time.