Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想访问不同项目中的方法。 例如,我 Test(name,age); 在 TestActivity中调用了一个方法, 然后如何访问此方法及其在 DemoActivity 不同项目中的参数。请帮助我。
Test(name,age);
DemoActivity
您应该为 DemoActivity 项目配置构建路径。在“项目”选项卡中添加 TestProject。现在您可以访问测试项目的数据。