编译自定义android并启用android.net.ethernetmanager类

时间:2019-06-02 08:45:32

标签: android class compilation nanopi

android.net.ethernetmanager类被@hide标志隐藏为Javadoc所提及。

@RunWith(SpringRunner.class)
@DataJpaTest
@AutoConfigureTestDatabase(replace = 
AutoConfigureTestDatabase.Replace.NONE)
    public class UserRepositoryIntegrationTest {
    @Autowired
    private TestEntityManager entityManager;

    @Autowired
    private UserRepository userRepository;

    @ClassRule
    public static PostgreSQLContainer postgres = new 
    PostgreSQLContainer("postgres");

    @Test
    public void someTest() {
    }
}


spring.datasource.url=jdbc:tc:postgresql://localhost:5432/test
spring.datasource.driverClassName=org.testcontainers.jdbc.ContainerDatabaseDriver
spring.datasource.username=test
spring.datasource.password=test
spring.jpa.databaseplatform=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.hibernate.ddl-auto=create-drop

此类由某种应用程序使用,该应用程序由另一名开发人员开发,带有源代码,并且无法访问其开发人员
因此,除了编译自定义android之外,我别无选择。
我的目标设备是nanopi M3和棒棒糖(22)
有多难?如何?
还有其他解决方案吗?
谢谢...

0 个答案:

没有答案